{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 准备工作"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 46,
   "metadata": {},
   "outputs": [],
   "source": [
    "import requests,json\n",
    "import pandas as pd\n",
    "key = \"1935cfb0eb2a0653f2e3857ee029f1b3\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 地理编码\n",
    "\n",
    "> * 1、结构化地址的定义： 首先，地址肯定是一串字符，内含国家、省份、城市、区县、城镇、乡村、街道、门牌号码、屋邨、大厦等建筑物名称。按照由大区域名称到小区域名称组合在一起的字符。一个有效的地址应该是独一无二的。注意：针对大陆、港、澳地区的地理编码转换时可以将国家信息选择性的忽略，但省、市、城镇等级别的地址构成是不能忽略的。暂时不支持返回台湾省的详细地址信息。    \n",
    "> * 2、url:https://restapi.amap.com/v3/geocode/geo?parameters      \n",
    "> * 3、requests.get()       \n",
    "> * 4、参数：\n",
    ">> * A.必选key（高德API秘钥），address(结构化地址)   \n",
    ">> * B.可选参数：city, batch, sig, output, callback"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 47,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'info': 'OK', 'infocode': '10000', 'count': '1', 'geocodes': [{'formatted_address': '广东省广州市海珠区中山大学', 'country': '中国', 'province': '广东省', 'citycode': '020', 'city': '广州市', 'district': '海珠区', 'township': [], 'neighborhood': {'name': [], 'type': []}, 'building': {'name': [], 'type': []}, 'adcode': '440105', 'street': [], 'number': [], 'location': '113.291103,23.092973', 'level': '兴趣点'}]}\n"
     ]
    }
   ],
   "source": [
    "# 地理编码\n",
    "def geocode(address,city=None,batch=None,sig=None)->dict:\n",
    "    \"\"\"获取地理编码\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/geocode/geo?parameters'\n",
    "    params={\n",
    "        'key': key,\n",
    "        'address':address,\n",
    "        'city':city,\n",
    "        'batch':batch,\n",
    "        'sig':sig, \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "地址 = geocode(address='广东省广州市中山大学')\n",
    "中山大学地理编码 = 地址['geocodes'][0]['location']\n",
    "print(地址)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 逆地理编码\n",
    "\n",
    "> * 1、url : https://restapi.amap.com/v3/geocode/regeo?parameters    \n",
    "> * 2、requests.get()    \n",
    "> * 3、参数：    \n",
    "\n",
    ">> * A.必选：key,location(经纬度坐标)\n",
    ">> * B.可选: poitype，radius，extensions，batch，roadlevel，sig，output，callback，homeorcorp"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 48,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'regeocode': {'addressComponent': {'city': '广州市', 'province': '广东省', 'adcode': '440105', 'district': '海珠区', 'towncode': '440105002000', 'streetNumber': {'number': '95号', 'location': '113.291273,23.092688', 'direction': '东南', 'distance': '36.1493', 'street': '新港西路'}, 'country': '中国', 'township': '新港街道', 'businessAreas': [{'location': '113.316550,23.094556', 'name': '新港', 'id': '440105'}, {'location': '113.281913,23.092278', 'name': '晓港', 'id': '440105'}, {'location': '113.296737,23.085197', 'name': '凤阳', 'id': '440105'}], 'building': {'name': [], 'type': []}, 'neighborhood': {'name': [], 'type': []}, 'citycode': '020'}, 'formatted_address': '广东省广州市海珠区新港街道上海浦东发展银行(中大支行)中山大学广州校区南校园'}, 'info': 'OK', 'infocode': '10000'}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>status</th>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>info</th>\n",
       "      <td>OK</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>infocode</th>\n",
       "      <td>10000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.city</th>\n",
       "      <td>广州市</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.province</th>\n",
       "      <td>广东省</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.adcode</th>\n",
       "      <td>440105</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.district</th>\n",
       "      <td>海珠区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.towncode</th>\n",
       "      <td>440105002000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.number</th>\n",
       "      <td>95号</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.location</th>\n",
       "      <td>113.291273,23.092688</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.direction</th>\n",
       "      <td>东南</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.distance</th>\n",
       "      <td>36.1493</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.street</th>\n",
       "      <td>新港西路</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.country</th>\n",
       "      <td>中国</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.township</th>\n",
       "      <td>新港街道</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.businessAreas</th>\n",
       "      <td>[{'location': '113.316550,23.094556', 'name': ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.building.name</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.building.type</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.neighborhood.name</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.neighborhood.type</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.citycode</th>\n",
       "      <td>020</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.formatted_address</th>\n",
       "      <td>广东省广州市海珠区新港街道上海浦东发展银行(中大支行)中山大学广州校区南校园</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                                                                   0\n",
       "status                                                                                             1\n",
       "info                                                                                              OK\n",
       "infocode                                                                                       10000\n",
       "regeocode.addressComponent.city                                                                  广州市\n",
       "regeocode.addressComponent.province                                                              广东省\n",
       "regeocode.addressComponent.adcode                                                             440105\n",
       "regeocode.addressComponent.district                                                              海珠区\n",
       "regeocode.addressComponent.towncode                                                     440105002000\n",
       "regeocode.addressComponent.streetNumber.number                                                   95号\n",
       "regeocode.addressComponent.streetNumber.location                                113.291273,23.092688\n",
       "regeocode.addressComponent.streetNumber.direction                                                 东南\n",
       "regeocode.addressComponent.streetNumber.distance                                             36.1493\n",
       "regeocode.addressComponent.streetNumber.street                                                  新港西路\n",
       "regeocode.addressComponent.country                                                                中国\n",
       "regeocode.addressComponent.township                                                             新港街道\n",
       "regeocode.addressComponent.businessAreas           [{'location': '113.316550,23.094556', 'name': ...\n",
       "regeocode.addressComponent.building.name                                                          []\n",
       "regeocode.addressComponent.building.type                                                          []\n",
       "regeocode.addressComponent.neighborhood.name                                                      []\n",
       "regeocode.addressComponent.neighborhood.type                                                      []\n",
       "regeocode.addressComponent.citycode                                                              020\n",
       "regeocode.formatted_address                                   广东省广州市海珠区新港街道上海浦东发展银行(中大支行)中山大学广州校区南校园"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# 基础逆地理编码\n",
    "def regeocode(location,poitype=None,radius=None,extensions=\"base\",batch=False,roadlevel=None,sig=None,homeorcorp=None)->dict:\n",
    "    \"\"\"获取逆地理编码\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/geocode/regeo?parameters'\n",
    "    params={\n",
    "        'key': key,\n",
    "        'location':location,\n",
    "        'poitype':poitype,\n",
    "        'radius':radius,\n",
    "        'extensions':extensions,\n",
    "        'batch':batch,\n",
    "        'roadlevel':roadlevel,\n",
    "        'homeorcorp':homeorcorp,\n",
    "        'sig':sig,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "\n",
    "中山大学逆地理编码 = regeocode(中山大学地理编码)\n",
    "print(中山大学逆地理编码)\n",
    "df_中山大学逆地理编码 = pd.json_normalize(中山大学逆地理编码).T\n",
    "display(df_中山大学逆地理编码)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'regeocode': {'roads': [{'id': '020F49F01104310230', 'location': '113.291,23.0929', 'direction': '西', 'name': '园西路', 'distance': '30.6251'}, {'id': '020F49F0110431139', 'location': '113.291,23.0926', 'direction': '北', 'name': '新港西路', 'distance': '36.8289'}, {'id': '020F49F01104321391', 'location': '113.291,23.0932', 'direction': '西南', 'name': '园南路', 'distance': '42.4368'}], 'roadinters': [{'second_name': '园南路', 'first_id': '020F49F01104310230', 'second_id': '020F49F01104321391', 'location': '113.291457,23.093172', 'distance': '42.4368', 'first_name': '园西路', 'direction': '西南'}], 'formatted_address': '广东省广州市海珠区新港街道上海浦东发展银行(中大支行)中山大学广州校区南校园', 'addressComponent': {'city': '广州市', 'province': '广东省', 'adcode': '440105', 'district': '海珠区', 'towncode': '440105002000', 'streetNumber': {'number': '95号', 'location': '113.291273,23.092688', 'direction': '东南', 'distance': '36.1493', 'street': '新港西路'}, 'country': '中国', 'township': '新港街道', 'businessAreas': [{'location': '113.316550,23.094556', 'name': '新港', 'id': '440105'}, {'location': '113.281913,23.092278', 'name': '晓港', 'id': '440105'}, {'location': '113.296737,23.085197', 'name': '凤阳', 'id': '440105'}], 'building': {'name': [], 'type': []}, 'neighborhood': {'name': [], 'type': []}, 'citycode': '020'}, 'aois': [{'area': '962998.531364', 'type': '141201', 'id': 'B00141IHRZ', 'location': '113.298395,23.096729', 'adcode': '440105', 'name': '中山大学广州校区南校园', 'distance': '0'}, {'area': '11159.027838', 'type': '141202', 'id': 'B00140V07R', 'location': '113.291020,23.093801', 'adcode': '440105', 'name': '中山大学附属中学', 'distance': '31.3919'}], 'pois': [{'id': 'B00140V07R', 'direction': '北', 'businessarea': '新港', 'address': '新港西路135号', 'poiweight': '0.467769', 'name': '中山大学附属中学', 'location': '113.291020,23.093801', 'distance': '92.4709', 'tel': '020-84112518;020-84113971', 'type': '科教文化服务;学校;中学'}, {'id': 'B00140KDZ6', 'direction': '西北', 'businessarea': '新港', 'address': '新港西路135号中山大学国家大学科技园B座13层', 'poiweight': '0.281905', 'name': '中国大学生创业园海珠园区', 'location': '113.291060,23.093049', 'distance': '9.51348', 'tel': [], 'type': '商务住宅;产业园区;产业园区'}, {'id': 'B00141SB7V', 'direction': '东', 'businessarea': '新港', 'address': '新港西路135号中大科技综合楼B座1层', 'poiweight': '0.419527', 'name': '上海浦东发展银行(中大支行)', 'location': '113.291131,23.092970', 'distance': '2.88983', 'tel': '020-84115789;020-84115778', 'type': '金融保险服务;银行;上海浦东发展银行'}, {'id': 'B00140KFAV', 'direction': '东', 'businessarea': '新港', 'address': '新港西路135号中大科技综合楼A座102室', 'poiweight': '0.525081', 'name': '中国银行(广州中山大学支行)', 'location': '113.291948,23.092797', 'distance': '88.6254', 'tel': '020-84113688;020-84113768', 'type': '金融保险服务;银行;中国银行'}, {'id': 'B00140WDN8', 'direction': '东', 'businessarea': '新港', 'address': '新港西路135号大院中大蒲园区634号首层', 'poiweight': '0.384563', 'name': '中国建设银行(中山大学支行)', 'location': '113.291972,23.093306', 'distance': '96.2859', 'tel': '020-34049809;020-34049821', 'type': '金融保险服务;银行;中国建设银行'}, {'id': 'B00141U846', 'direction': '东', 'businessarea': '新港', 'address': '新港西路135号', 'poiweight': '0.252779', 'name': '中山大学广州南校区科技园', 'location': '113.291983,23.092881', 'distance': '90.5936', 'tel': '020-84115999', 'type': '商务住宅;产业园区;产业园区'}, {'id': 'B00140U8SD', 'direction': '北', 'businessarea': '新港', 'address': '新港西路135号', 'poiweight': '0.337242', 'name': '中山大学国家大学科技园B座', 'location': '113.291126,23.093053', 'distance': '9.20329', 'tel': [], 'type': '商务住宅;楼宇;商务写字楼'}, {'id': 'B0FFG30WP6', 'direction': '西北', 'businessarea': '新港', 'address': '新港西路135号中山大学南校区', 'poiweight': '0.28826', 'name': '中山大学广州南校区科技综合楼2期', 'location': '113.290937,23.093079', 'distance': '20.6691', 'tel': [], 'type': '商务住宅;楼宇;商务写字楼'}, {'id': 'B00141JGF2', 'direction': '东', 'businessarea': '新港', 'address': '新港西路135号', 'poiweight': '0.317136', 'name': '中山大学国家大学科技园A座', 'location': '113.291676,23.092961', 'distance': '58.6326', 'tel': '020-84115999', 'type': '商务住宅;楼宇;商务写字楼'}, {'id': 'B00140FY1X', 'direction': '北', 'businessarea': '新港', 'address': '新港西路135号中山大学国家大学科技园B座8层806-807', 'poiweight': '0.36933', 'name': '中山大学广东发展研究院', 'location': '113.291126,23.093053', 'distance': '9.20329', 'tel': [], 'type': '科教文化服务;科研机构;科研机构'}, {'id': 'B00140U3D6', 'direction': '东', 'businessarea': '新港', 'address': '新港西路135号中山大学蒲园区634号1楼南', 'poiweight': '0.320061', 'name': '广州中大建筑设计研究院(暂停营业)', 'location': '113.291800,23.093217', 'distance': '76.2744', 'tel': [], 'type': '科教文化服务;科研机构;科研机构'}, {'id': 'B00141RFWP', 'direction': '东南', 'businessarea': '新港', 'address': '新港西路82号2层', 'poiweight': '0.299959', 'name': '渤海银行(海珠支行)', 'location': '113.292348,23.091739', 'distance': '187.224', 'tel': '020-29198001;020-29198005', 'type': '金融保险服务;银行;银行'}, {'id': 'B0FFFGX8UE', 'direction': '东', 'businessarea': '新港', 'address': '新港西路135号中山大学国家科技园A座402号', 'poiweight': '0.18278', 'name': '中山大学-成人教育新生报名点', 'location': '113.291618,23.092883', 'distance': '53.6213', 'tel': '020-84115953', 'type': '科教文化服务;学校;成人教育'}, {'id': 'B0FFLM8VDM', 'direction': '西', 'businessarea': '新港', 'address': '新港西路135号中山大学国家科技园B座', 'poiweight': '0.185496', 'name': '逸成教育海珠校区', 'location': '113.290781,23.093102', 'distance': '35.9152', 'tel': '13560129626', 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B0FFFF4FVV', 'direction': '东', 'businessarea': '新港', 'address': '新港西路135号中山大学国家科技园A座402号', 'poiweight': '0.241473', 'name': '广东省总招生办中大办公室', 'location': '113.291858,23.092799', 'distance': '79.6201', 'tel': [], 'type': '科教文化服务;学校;高等院校|科教文化服务;学校;成人教育'}, {'id': 'B0FFHRN9RM', 'direction': '西', 'businessarea': '新港', 'address': '新港西路89号(百佳超市正对面)', 'poiweight': '0.187262', 'name': '中山大学南校区-方法教育', 'location': '113.290093,23.092960', 'distance': '103.323', 'tel': '020-34255811', 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B00140JHP2', 'direction': '北', 'businessarea': '新港', 'address': '新港西路135号中山大学国家大学科技园B座6层612', 'poiweight': '0.262655', 'name': '海珠区科技产业基地管理委员会办公室', 'location': '113.291126,23.093053', 'distance': '9.20329', 'tel': [], 'type': '政府机构及社会团体;政府机关;区县级政府及事业单位'}, {'id': 'B0FFG4HZXN', 'direction': '东', 'businessarea': '新港', 'address': '新港西路135号中山大学蒲园区634号楼', 'poiweight': '0.221615', 'name': '中国基本建设优化研究会医院建设优化研究所', 'location': '113.291801,23.093216', 'distance': '76.3478', 'tel': [], 'type': '科教文化服务;科研机构;科研机构'}, {'id': 'BV10014717', 'direction': '东南', 'businessarea': '新港', 'address': '8号线', 'poiweight': '0.6', 'name': '中大(地铁站)', 'location': '113.292863,23.092124', 'distance': '203.291', 'tel': [], 'type': '交通设施服务;地铁站;地铁站'}, {'id': 'B00140TFUF', 'direction': '北', 'businessarea': '新港', 'address': '新港西路135中山大学', 'poiweight': '0.384976', 'name': '中山大学南校区附属小学', 'location': '113.290511,23.094417', 'distance': '171.598', 'tel': '020-84112518', 'type': '科教文化服务;学校;小学'}, {'id': 'B0FFG4EQ88', 'direction': '西', 'businessarea': '新港', 'address': '新港西路85号', 'poiweight': '0.186094', 'name': '昭越教育', 'location': '113.289621,23.093057', 'distance': '151.874', 'tel': '020-86005006;13922781880', 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B00140UFTG', 'direction': '西南', 'businessarea': '新港', 'address': '新港西路68号', 'poiweight': '0.431792', 'name': '富景花园', 'location': '113.289665,23.091998', 'distance': '182.737', 'tel': '020-84180038', 'type': '商务住宅;住宅区;住宅小区'}, {'id': 'B0FFFDBVOY', 'direction': '东北', 'businessarea': '新港', 'address': '新港西路135号中山大学园西路附近', 'poiweight': '0.340143', 'name': '中山大学附属中学招生办', 'location': '113.291775,23.093559', 'distance': '94.6996', 'tel': '020-84111796', 'type': '科教文化服务;学校;中学'}, {'id': 'B001423QC8', 'direction': '北', 'businessarea': '新港', 'address': '新港西路135号中大园西区719栋103', 'poiweight': '0.185048', 'name': '中山大学南校区-优数教育', 'location': '113.291460,23.094467', 'distance': '170.086', 'tel': '020-84034574;18998491778', 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B0FFG4GSC4', 'direction': '东', 'businessarea': '新港', 'address': '新港西路135号中山大学园南路', 'poiweight': '0.186094', 'name': '中山大学管理学院酒店管理培训中心', 'location': '113.292691,23.093097', 'distance': '163.024', 'tel': [], 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B0FFG4E519', 'direction': '南', 'businessarea': '新港', 'address': '新港西路82号广州交易所集团综合办公大楼', 'poiweight': '0.161178', 'name': '广州产权交易所(中央大道北)', 'location': '113.290806,23.091453', 'distance': '171.732', 'tel': '020-89160970', 'type': '政府机构及社会团体;政府机关;地市级政府及事业单位'}, {'id': 'B0FFG4EY0N', 'direction': '南', 'businessarea': '新港', 'address': '中央大道北', 'poiweight': '0.161178', 'name': '广州碳排放权交易所', 'location': '113.290806,23.091453', 'distance': '171.732', 'tel': [], 'type': '政府机构及社会团体;政府机关;地市级政府及事业单位'}, {'id': 'B00141RGVQ', 'direction': '东', 'businessarea': '新港', 'address': '新港西路135号中山大学', 'poiweight': '0.373551', 'name': '中山大学管理学院', 'location': '113.292377,23.093221', 'distance': '133.193', 'tel': '020-84112602', 'type': '科教文化服务;学校;高等院校'}, {'id': 'B00141IK7I', 'direction': '西', 'businessarea': '新港', 'address': '新港西路68号富景花园3-4层', 'poiweight': '0.385794', 'name': '百佳超市(富景店)', 'location': '113.289196,23.092591', 'distance': '199.631', 'tel': '020-34246935', 'type': '购物服务;商场;购物中心'}, {'id': 'B00141IHWF', 'direction': '西北', 'businessarea': '新港', 'address': '怡乐路怡乐七巷5号', 'poiweight': '0.139721', 'name': '广州市海珠区司法局新港司法所', 'location': '113.289008,23.093902', 'distance': '237.891', 'tel': '020-89105496', 'type': '政府机构及社会团体;公检法机构;公检法机关'}]}, 'info': 'OK', 'infocode': '10000'}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>status</th>\n",
       "      <th>info</th>\n",
       "      <th>infocode</th>\n",
       "      <th>regeocode.roads</th>\n",
       "      <th>regeocode.roadinters</th>\n",
       "      <th>regeocode.formatted_address</th>\n",
       "      <th>regeocode.addressComponent.city</th>\n",
       "      <th>regeocode.addressComponent.province</th>\n",
       "      <th>regeocode.addressComponent.adcode</th>\n",
       "      <th>regeocode.addressComponent.district</th>\n",
       "      <th>...</th>\n",
       "      <th>regeocode.addressComponent.country</th>\n",
       "      <th>regeocode.addressComponent.township</th>\n",
       "      <th>regeocode.addressComponent.businessAreas</th>\n",
       "      <th>regeocode.addressComponent.building.name</th>\n",
       "      <th>regeocode.addressComponent.building.type</th>\n",
       "      <th>regeocode.addressComponent.neighborhood.name</th>\n",
       "      <th>regeocode.addressComponent.neighborhood.type</th>\n",
       "      <th>regeocode.addressComponent.citycode</th>\n",
       "      <th>regeocode.aois</th>\n",
       "      <th>regeocode.pois</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>OK</td>\n",
       "      <td>10000</td>\n",
       "      <td>[{'id': '020F49F01104310230', 'location': '113...</td>\n",
       "      <td>[{'second_name': '园南路', 'first_id': '020F49F01...</td>\n",
       "      <td>广东省广州市海珠区新港街道上海浦东发展银行(中大支行)中山大学广州校区南校园</td>\n",
       "      <td>广州市</td>\n",
       "      <td>广东省</td>\n",
       "      <td>440105</td>\n",
       "      <td>海珠区</td>\n",
       "      <td>...</td>\n",
       "      <td>中国</td>\n",
       "      <td>新港街道</td>\n",
       "      <td>[{'location': '113.316550,23.094556', 'name': ...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>020</td>\n",
       "      <td>[{'area': '962998.531364', 'type': '141201', '...</td>\n",
       "      <td>[{'id': 'B00140V07R', 'direction': '北', 'busin...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1 rows × 26 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "  status info infocode                                    regeocode.roads  \\\n",
       "0      1   OK    10000  [{'id': '020F49F01104310230', 'location': '113...   \n",
       "\n",
       "                                regeocode.roadinters  \\\n",
       "0  [{'second_name': '园南路', 'first_id': '020F49F01...   \n",
       "\n",
       "              regeocode.formatted_address regeocode.addressComponent.city  \\\n",
       "0  广东省广州市海珠区新港街道上海浦东发展银行(中大支行)中山大学广州校区南校园                             广州市   \n",
       "\n",
       "  regeocode.addressComponent.province regeocode.addressComponent.adcode  \\\n",
       "0                                 广东省                            440105   \n",
       "\n",
       "  regeocode.addressComponent.district  ... regeocode.addressComponent.country  \\\n",
       "0                                 海珠区  ...                                 中国   \n",
       "\n",
       "  regeocode.addressComponent.township  \\\n",
       "0                                新港街道   \n",
       "\n",
       "            regeocode.addressComponent.businessAreas  \\\n",
       "0  [{'location': '113.316550,23.094556', 'name': ...   \n",
       "\n",
       "  regeocode.addressComponent.building.name  \\\n",
       "0                                       []   \n",
       "\n",
       "  regeocode.addressComponent.building.type  \\\n",
       "0                                       []   \n",
       "\n",
       "  regeocode.addressComponent.neighborhood.name  \\\n",
       "0                                           []   \n",
       "\n",
       "  regeocode.addressComponent.neighborhood.type  \\\n",
       "0                                           []   \n",
       "\n",
       "  regeocode.addressComponent.citycode  \\\n",
       "0                                 020   \n",
       "\n",
       "                                      regeocode.aois  \\\n",
       "0  [{'area': '962998.531364', 'type': '141201', '...   \n",
       "\n",
       "                                      regeocode.pois  \n",
       "0  [{'id': 'B00140V07R', 'direction': '北', 'busin...  \n",
       "\n",
       "[1 rows x 26 columns]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# 全部逆地理编码\n",
    "中山大学逆地理编码_all = regeocode(中山大学地理编码,extensions='all',radius=300)\n",
    "print(中山大学逆地理编码_all)\n",
    "df_中山大学逆地理编码_all = pd.json_normalize(中山大学逆地理编码_all)\n",
    "display(df_中山大学逆地理编码_all)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>location</th>\n",
       "      <th>direction</th>\n",
       "      <th>name</th>\n",
       "      <th>distance</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>020F49F01104310230</td>\n",
       "      <td>113.291,23.0929</td>\n",
       "      <td>西</td>\n",
       "      <td>园西路</td>\n",
       "      <td>30.6251</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>020F49F0110431139</td>\n",
       "      <td>113.291,23.0926</td>\n",
       "      <td>北</td>\n",
       "      <td>新港西路</td>\n",
       "      <td>36.8289</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>020F49F01104321391</td>\n",
       "      <td>113.291,23.0932</td>\n",
       "      <td>西南</td>\n",
       "      <td>园南路</td>\n",
       "      <td>42.4368</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                   id         location direction  name distance\n",
       "0  020F49F01104310230  113.291,23.0929         西   园西路  30.6251\n",
       "1   020F49F0110431139  113.291,23.0926         北  新港西路  36.8289\n",
       "2  020F49F01104321391  113.291,23.0932        西南   园南路  42.4368"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>second_name</th>\n",
       "      <th>first_id</th>\n",
       "      <th>second_id</th>\n",
       "      <th>location</th>\n",
       "      <th>distance</th>\n",
       "      <th>first_name</th>\n",
       "      <th>direction</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>园南路</td>\n",
       "      <td>020F49F01104310230</td>\n",
       "      <td>020F49F01104321391</td>\n",
       "      <td>113.291457,23.093172</td>\n",
       "      <td>42.4368</td>\n",
       "      <td>园西路</td>\n",
       "      <td>西南</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  second_name            first_id           second_id              location  \\\n",
       "0         园南路  020F49F01104310230  020F49F01104321391  113.291457,23.093172   \n",
       "\n",
       "  distance first_name direction  \n",
       "0  42.4368        园西路        西南  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>area</th>\n",
       "      <th>type</th>\n",
       "      <th>id</th>\n",
       "      <th>location</th>\n",
       "      <th>adcode</th>\n",
       "      <th>name</th>\n",
       "      <th>distance</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>962998.531364</td>\n",
       "      <td>141201</td>\n",
       "      <td>B00141IHRZ</td>\n",
       "      <td>113.298395,23.096729</td>\n",
       "      <td>440105</td>\n",
       "      <td>中山大学广州校区南校园</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>11159.027838</td>\n",
       "      <td>141202</td>\n",
       "      <td>B00140V07R</td>\n",
       "      <td>113.291020,23.093801</td>\n",
       "      <td>440105</td>\n",
       "      <td>中山大学附属中学</td>\n",
       "      <td>31.3919</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            area    type          id              location  adcode  \\\n",
       "0  962998.531364  141201  B00141IHRZ  113.298395,23.096729  440105   \n",
       "1   11159.027838  141202  B00140V07R  113.291020,23.093801  440105   \n",
       "\n",
       "          name distance  \n",
       "0  中山大学广州校区南校园        0  \n",
       "1     中山大学附属中学  31.3919  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>direction</th>\n",
       "      <th>businessarea</th>\n",
       "      <th>address</th>\n",
       "      <th>poiweight</th>\n",
       "      <th>name</th>\n",
       "      <th>location</th>\n",
       "      <th>distance</th>\n",
       "      <th>tel</th>\n",
       "      <th>type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>B00140V07R</td>\n",
       "      <td>北</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号</td>\n",
       "      <td>0.467769</td>\n",
       "      <td>中山大学附属中学</td>\n",
       "      <td>113.291020,23.093801</td>\n",
       "      <td>92.4709</td>\n",
       "      <td>020-84112518;020-84113971</td>\n",
       "      <td>科教文化服务;学校;中学</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>B00140KDZ6</td>\n",
       "      <td>西北</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中山大学国家大学科技园B座13层</td>\n",
       "      <td>0.281905</td>\n",
       "      <td>中国大学生创业园海珠园区</td>\n",
       "      <td>113.291060,23.093049</td>\n",
       "      <td>9.51348</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;产业园区;产业园区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>B00141SB7V</td>\n",
       "      <td>东</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中大科技综合楼B座1层</td>\n",
       "      <td>0.419527</td>\n",
       "      <td>上海浦东发展银行(中大支行)</td>\n",
       "      <td>113.291131,23.092970</td>\n",
       "      <td>2.88983</td>\n",
       "      <td>020-84115789;020-84115778</td>\n",
       "      <td>金融保险服务;银行;上海浦东发展银行</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B00140KFAV</td>\n",
       "      <td>东</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中大科技综合楼A座102室</td>\n",
       "      <td>0.525081</td>\n",
       "      <td>中国银行(广州中山大学支行)</td>\n",
       "      <td>113.291948,23.092797</td>\n",
       "      <td>88.6254</td>\n",
       "      <td>020-84113688;020-84113768</td>\n",
       "      <td>金融保险服务;银行;中国银行</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>B00140WDN8</td>\n",
       "      <td>东</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号大院中大蒲园区634号首层</td>\n",
       "      <td>0.384563</td>\n",
       "      <td>中国建设银行(中山大学支行)</td>\n",
       "      <td>113.291972,23.093306</td>\n",
       "      <td>96.2859</td>\n",
       "      <td>020-34049809;020-34049821</td>\n",
       "      <td>金融保险服务;银行;中国建设银行</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B00141U846</td>\n",
       "      <td>东</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号</td>\n",
       "      <td>0.252779</td>\n",
       "      <td>中山大学广州南校区科技园</td>\n",
       "      <td>113.291983,23.092881</td>\n",
       "      <td>90.5936</td>\n",
       "      <td>020-84115999</td>\n",
       "      <td>商务住宅;产业园区;产业园区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>B00140U8SD</td>\n",
       "      <td>北</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号</td>\n",
       "      <td>0.337242</td>\n",
       "      <td>中山大学国家大学科技园B座</td>\n",
       "      <td>113.291126,23.093053</td>\n",
       "      <td>9.20329</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;楼宇;商务写字楼</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B0FFG30WP6</td>\n",
       "      <td>西北</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中山大学南校区</td>\n",
       "      <td>0.28826</td>\n",
       "      <td>中山大学广州南校区科技综合楼2期</td>\n",
       "      <td>113.290937,23.093079</td>\n",
       "      <td>20.6691</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;楼宇;商务写字楼</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>B00141JGF2</td>\n",
       "      <td>东</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号</td>\n",
       "      <td>0.317136</td>\n",
       "      <td>中山大学国家大学科技园A座</td>\n",
       "      <td>113.291676,23.092961</td>\n",
       "      <td>58.6326</td>\n",
       "      <td>020-84115999</td>\n",
       "      <td>商务住宅;楼宇;商务写字楼</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B00140FY1X</td>\n",
       "      <td>北</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中山大学国家大学科技园B座8层806-807</td>\n",
       "      <td>0.36933</td>\n",
       "      <td>中山大学广东发展研究院</td>\n",
       "      <td>113.291126,23.093053</td>\n",
       "      <td>9.20329</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科研机构;科研机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>B00140U3D6</td>\n",
       "      <td>东</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中山大学蒲园区634号1楼南</td>\n",
       "      <td>0.320061</td>\n",
       "      <td>广州中大建筑设计研究院(暂停营业)</td>\n",
       "      <td>113.291800,23.093217</td>\n",
       "      <td>76.2744</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科研机构;科研机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>B00141RFWP</td>\n",
       "      <td>东南</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路82号2层</td>\n",
       "      <td>0.299959</td>\n",
       "      <td>渤海银行(海珠支行)</td>\n",
       "      <td>113.292348,23.091739</td>\n",
       "      <td>187.224</td>\n",
       "      <td>020-29198001;020-29198005</td>\n",
       "      <td>金融保险服务;银行;银行</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>B0FFFGX8UE</td>\n",
       "      <td>东</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中山大学国家科技园A座402号</td>\n",
       "      <td>0.18278</td>\n",
       "      <td>中山大学-成人教育新生报名点</td>\n",
       "      <td>113.291618,23.092883</td>\n",
       "      <td>53.6213</td>\n",
       "      <td>020-84115953</td>\n",
       "      <td>科教文化服务;学校;成人教育</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>B0FFLM8VDM</td>\n",
       "      <td>西</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中山大学国家科技园B座</td>\n",
       "      <td>0.185496</td>\n",
       "      <td>逸成教育海珠校区</td>\n",
       "      <td>113.290781,23.093102</td>\n",
       "      <td>35.9152</td>\n",
       "      <td>13560129626</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>B0FFFF4FVV</td>\n",
       "      <td>东</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中山大学国家科技园A座402号</td>\n",
       "      <td>0.241473</td>\n",
       "      <td>广东省总招生办中大办公室</td>\n",
       "      <td>113.291858,23.092799</td>\n",
       "      <td>79.6201</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校|科教文化服务;学校;成人教育</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>B0FFHRN9RM</td>\n",
       "      <td>西</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路89号(百佳超市正对面)</td>\n",
       "      <td>0.187262</td>\n",
       "      <td>中山大学南校区-方法教育</td>\n",
       "      <td>113.290093,23.092960</td>\n",
       "      <td>103.323</td>\n",
       "      <td>020-34255811</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>B00140JHP2</td>\n",
       "      <td>北</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中山大学国家大学科技园B座6层612</td>\n",
       "      <td>0.262655</td>\n",
       "      <td>海珠区科技产业基地管理委员会办公室</td>\n",
       "      <td>113.291126,23.093053</td>\n",
       "      <td>9.20329</td>\n",
       "      <td>[]</td>\n",
       "      <td>政府机构及社会团体;政府机关;区县级政府及事业单位</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>B0FFG4HZXN</td>\n",
       "      <td>东</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中山大学蒲园区634号楼</td>\n",
       "      <td>0.221615</td>\n",
       "      <td>中国基本建设优化研究会医院建设优化研究所</td>\n",
       "      <td>113.291801,23.093216</td>\n",
       "      <td>76.3478</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科研机构;科研机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>BV10014717</td>\n",
       "      <td>东南</td>\n",
       "      <td>新港</td>\n",
       "      <td>8号线</td>\n",
       "      <td>0.6</td>\n",
       "      <td>中大(地铁站)</td>\n",
       "      <td>113.292863,23.092124</td>\n",
       "      <td>203.291</td>\n",
       "      <td>[]</td>\n",
       "      <td>交通设施服务;地铁站;地铁站</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>B00140TFUF</td>\n",
       "      <td>北</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135中山大学</td>\n",
       "      <td>0.384976</td>\n",
       "      <td>中山大学南校区附属小学</td>\n",
       "      <td>113.290511,23.094417</td>\n",
       "      <td>171.598</td>\n",
       "      <td>020-84112518</td>\n",
       "      <td>科教文化服务;学校;小学</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>B0FFG4EQ88</td>\n",
       "      <td>西</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路85号</td>\n",
       "      <td>0.186094</td>\n",
       "      <td>昭越教育</td>\n",
       "      <td>113.289621,23.093057</td>\n",
       "      <td>151.874</td>\n",
       "      <td>020-86005006;13922781880</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>B00140UFTG</td>\n",
       "      <td>西南</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路68号</td>\n",
       "      <td>0.431792</td>\n",
       "      <td>富景花园</td>\n",
       "      <td>113.289665,23.091998</td>\n",
       "      <td>182.737</td>\n",
       "      <td>020-84180038</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>B0FFFDBVOY</td>\n",
       "      <td>东北</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中山大学园西路附近</td>\n",
       "      <td>0.340143</td>\n",
       "      <td>中山大学附属中学招生办</td>\n",
       "      <td>113.291775,23.093559</td>\n",
       "      <td>94.6996</td>\n",
       "      <td>020-84111796</td>\n",
       "      <td>科教文化服务;学校;中学</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>B001423QC8</td>\n",
       "      <td>北</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中大园西区719栋103</td>\n",
       "      <td>0.185048</td>\n",
       "      <td>中山大学南校区-优数教育</td>\n",
       "      <td>113.291460,23.094467</td>\n",
       "      <td>170.086</td>\n",
       "      <td>020-84034574;18998491778</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>B0FFG4GSC4</td>\n",
       "      <td>东</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中山大学园南路</td>\n",
       "      <td>0.186094</td>\n",
       "      <td>中山大学管理学院酒店管理培训中心</td>\n",
       "      <td>113.292691,23.093097</td>\n",
       "      <td>163.024</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>B0FFG4E519</td>\n",
       "      <td>南</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路82号广州交易所集团综合办公大楼</td>\n",
       "      <td>0.161178</td>\n",
       "      <td>广州产权交易所(中央大道北)</td>\n",
       "      <td>113.290806,23.091453</td>\n",
       "      <td>171.732</td>\n",
       "      <td>020-89160970</td>\n",
       "      <td>政府机构及社会团体;政府机关;地市级政府及事业单位</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>B0FFG4EY0N</td>\n",
       "      <td>南</td>\n",
       "      <td>新港</td>\n",
       "      <td>中央大道北</td>\n",
       "      <td>0.161178</td>\n",
       "      <td>广州碳排放权交易所</td>\n",
       "      <td>113.290806,23.091453</td>\n",
       "      <td>171.732</td>\n",
       "      <td>[]</td>\n",
       "      <td>政府机构及社会团体;政府机关;地市级政府及事业单位</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>B00141RGVQ</td>\n",
       "      <td>东</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路135号中山大学</td>\n",
       "      <td>0.373551</td>\n",
       "      <td>中山大学管理学院</td>\n",
       "      <td>113.292377,23.093221</td>\n",
       "      <td>133.193</td>\n",
       "      <td>020-84112602</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>B00141IK7I</td>\n",
       "      <td>西</td>\n",
       "      <td>新港</td>\n",
       "      <td>新港西路68号富景花园3-4层</td>\n",
       "      <td>0.385794</td>\n",
       "      <td>百佳超市(富景店)</td>\n",
       "      <td>113.289196,23.092591</td>\n",
       "      <td>199.631</td>\n",
       "      <td>020-34246935</td>\n",
       "      <td>购物服务;商场;购物中心</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>B00141IHWF</td>\n",
       "      <td>西北</td>\n",
       "      <td>新港</td>\n",
       "      <td>怡乐路怡乐七巷5号</td>\n",
       "      <td>0.139721</td>\n",
       "      <td>广州市海珠区司法局新港司法所</td>\n",
       "      <td>113.289008,23.093902</td>\n",
       "      <td>237.891</td>\n",
       "      <td>020-89105496</td>\n",
       "      <td>政府机构及社会团体;公检法机构;公检法机关</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            id direction businessarea                         address  \\\n",
       "0   B00140V07R         北           新港                        新港西路135号   \n",
       "1   B00140KDZ6        西北           新港        新港西路135号中山大学国家大学科技园B座13层   \n",
       "2   B00141SB7V         东           新港             新港西路135号中大科技综合楼B座1层   \n",
       "3   B00140KFAV         东           新港           新港西路135号中大科技综合楼A座102室   \n",
       "4   B00140WDN8         东           新港           新港西路135号大院中大蒲园区634号首层   \n",
       "5   B00141U846         东           新港                        新港西路135号   \n",
       "6   B00140U8SD         北           新港                        新港西路135号   \n",
       "7   B0FFG30WP6        西北           新港                 新港西路135号中山大学南校区   \n",
       "8   B00141JGF2         东           新港                        新港西路135号   \n",
       "9   B00140FY1X         北           新港  新港西路135号中山大学国家大学科技园B座8层806-807   \n",
       "10  B00140U3D6         东           新港          新港西路135号中山大学蒲园区634号1楼南   \n",
       "11  B00141RFWP        东南           新港                       新港西路82号2层   \n",
       "12  B0FFFGX8UE         东           新港         新港西路135号中山大学国家科技园A座402号   \n",
       "13  B0FFLM8VDM         西           新港             新港西路135号中山大学国家科技园B座   \n",
       "14  B0FFFF4FVV         东           新港         新港西路135号中山大学国家科技园A座402号   \n",
       "15  B0FFHRN9RM         西           新港                新港西路89号(百佳超市正对面)   \n",
       "16  B00140JHP2         北           新港      新港西路135号中山大学国家大学科技园B座6层612   \n",
       "17  B0FFG4HZXN         东           新港            新港西路135号中山大学蒲园区634号楼   \n",
       "18  BV10014717        东南           新港                             8号线   \n",
       "19  B00140TFUF         北           新港                     新港西路135中山大学   \n",
       "20  B0FFG4EQ88         西           新港                         新港西路85号   \n",
       "21  B00140UFTG        西南           新港                         新港西路68号   \n",
       "22  B0FFFDBVOY        东北           新港               新港西路135号中山大学园西路附近   \n",
       "23  B001423QC8         北           新港            新港西路135号中大园西区719栋103   \n",
       "24  B0FFG4GSC4         东           新港                 新港西路135号中山大学园南路   \n",
       "25  B0FFG4E519         南           新港            新港西路82号广州交易所集团综合办公大楼   \n",
       "26  B0FFG4EY0N         南           新港                           中央大道北   \n",
       "27  B00141RGVQ         东           新港                    新港西路135号中山大学   \n",
       "28  B00141IK7I         西           新港                 新港西路68号富景花园3-4层   \n",
       "29  B00141IHWF        西北           新港                       怡乐路怡乐七巷5号   \n",
       "\n",
       "   poiweight                  name              location distance  \\\n",
       "0   0.467769              中山大学附属中学  113.291020,23.093801  92.4709   \n",
       "1   0.281905          中国大学生创业园海珠园区  113.291060,23.093049  9.51348   \n",
       "2   0.419527        上海浦东发展银行(中大支行)  113.291131,23.092970  2.88983   \n",
       "3   0.525081        中国银行(广州中山大学支行)  113.291948,23.092797  88.6254   \n",
       "4   0.384563        中国建设银行(中山大学支行)  113.291972,23.093306  96.2859   \n",
       "5   0.252779          中山大学广州南校区科技园  113.291983,23.092881  90.5936   \n",
       "6   0.337242         中山大学国家大学科技园B座  113.291126,23.093053  9.20329   \n",
       "7    0.28826      中山大学广州南校区科技综合楼2期  113.290937,23.093079  20.6691   \n",
       "8   0.317136         中山大学国家大学科技园A座  113.291676,23.092961  58.6326   \n",
       "9    0.36933           中山大学广东发展研究院  113.291126,23.093053  9.20329   \n",
       "10  0.320061     广州中大建筑设计研究院(暂停营业)  113.291800,23.093217  76.2744   \n",
       "11  0.299959            渤海银行(海珠支行)  113.292348,23.091739  187.224   \n",
       "12   0.18278        中山大学-成人教育新生报名点  113.291618,23.092883  53.6213   \n",
       "13  0.185496              逸成教育海珠校区  113.290781,23.093102  35.9152   \n",
       "14  0.241473          广东省总招生办中大办公室  113.291858,23.092799  79.6201   \n",
       "15  0.187262          中山大学南校区-方法教育  113.290093,23.092960  103.323   \n",
       "16  0.262655     海珠区科技产业基地管理委员会办公室  113.291126,23.093053  9.20329   \n",
       "17  0.221615  中国基本建设优化研究会医院建设优化研究所  113.291801,23.093216  76.3478   \n",
       "18       0.6               中大(地铁站)  113.292863,23.092124  203.291   \n",
       "19  0.384976           中山大学南校区附属小学  113.290511,23.094417  171.598   \n",
       "20  0.186094                  昭越教育  113.289621,23.093057  151.874   \n",
       "21  0.431792                  富景花园  113.289665,23.091998  182.737   \n",
       "22  0.340143           中山大学附属中学招生办  113.291775,23.093559  94.6996   \n",
       "23  0.185048          中山大学南校区-优数教育  113.291460,23.094467  170.086   \n",
       "24  0.186094      中山大学管理学院酒店管理培训中心  113.292691,23.093097  163.024   \n",
       "25  0.161178        广州产权交易所(中央大道北)  113.290806,23.091453  171.732   \n",
       "26  0.161178             广州碳排放权交易所  113.290806,23.091453  171.732   \n",
       "27  0.373551              中山大学管理学院  113.292377,23.093221  133.193   \n",
       "28  0.385794             百佳超市(富景店)  113.289196,23.092591  199.631   \n",
       "29  0.139721        广州市海珠区司法局新港司法所  113.289008,23.093902  237.891   \n",
       "\n",
       "                          tel                           type  \n",
       "0   020-84112518;020-84113971                   科教文化服务;学校;中学  \n",
       "1                          []                 商务住宅;产业园区;产业园区  \n",
       "2   020-84115789;020-84115778             金融保险服务;银行;上海浦东发展银行  \n",
       "3   020-84113688;020-84113768                 金融保险服务;银行;中国银行  \n",
       "4   020-34049809;020-34049821               金融保险服务;银行;中国建设银行  \n",
       "5                020-84115999                 商务住宅;产业园区;产业园区  \n",
       "6                          []                  商务住宅;楼宇;商务写字楼  \n",
       "7                          []                  商务住宅;楼宇;商务写字楼  \n",
       "8                020-84115999                  商务住宅;楼宇;商务写字楼  \n",
       "9                          []               科教文化服务;科研机构;科研机构  \n",
       "10                         []               科教文化服务;科研机构;科研机构  \n",
       "11  020-29198001;020-29198005                   金融保险服务;银行;银行  \n",
       "12               020-84115953                 科教文化服务;学校;成人教育  \n",
       "13                13560129626               科教文化服务;培训机构;培训机构  \n",
       "14                         []  科教文化服务;学校;高等院校|科教文化服务;学校;成人教育  \n",
       "15               020-34255811               科教文化服务;培训机构;培训机构  \n",
       "16                         []      政府机构及社会团体;政府机关;区县级政府及事业单位  \n",
       "17                         []               科教文化服务;科研机构;科研机构  \n",
       "18                         []                 交通设施服务;地铁站;地铁站  \n",
       "19               020-84112518                   科教文化服务;学校;小学  \n",
       "20   020-86005006;13922781880               科教文化服务;培训机构;培训机构  \n",
       "21               020-84180038                  商务住宅;住宅区;住宅小区  \n",
       "22               020-84111796                   科教文化服务;学校;中学  \n",
       "23   020-84034574;18998491778               科教文化服务;培训机构;培训机构  \n",
       "24                         []               科教文化服务;培训机构;培训机构  \n",
       "25               020-89160970      政府机构及社会团体;政府机关;地市级政府及事业单位  \n",
       "26                         []      政府机构及社会团体;政府机关;地市级政府及事业单位  \n",
       "27               020-84112602                 科教文化服务;学校;高等院校  \n",
       "28               020-34246935                   购物服务;商场;购物中心  \n",
       "29               020-89105496          政府机构及社会团体;公检法机构;公检法机关  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# 细节分析\n",
    "roads = pd.json_normalize(中山大学逆地理编码_all['regeocode']['roads'])\n",
    "roadinters = pd.json_normalize(中山大学逆地理编码_all['regeocode']['roadinters'])\n",
    "aois = pd.json_normalize(中山大学逆地理编码_all['regeocode']['aois'])\n",
    "pois = pd.json_normalize(中山大学逆地理编码_all['regeocode']['pois'])\n",
    "display(roads,roadinters,aois,pois)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 路径规划\n",
    "\n",
    "> * 1、步行\n",
    "> * 2、公交车\n",
    "> * 3、驾车"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 步行 \n",
    "\n",
    "> * 1、url:https://restapi.amap.com/v3/direction/walking?parameters    \n",
    "> * 2、requests.get()\n",
    "> * 3、参数：\n",
    "\n",
    ">> * A.必选：key，origin（出发点（经度，纬度））,destination（目的地（经度，纬度））\n",
    ">> * B.可选："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 数据准备： \n",
    "origin = \"广东省广州市中山大学南方学院\"\n",
    "destination = \"广州市从化客运站\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 52,
   "metadata": {},
   "outputs": [],
   "source": [
    "\n",
    "def geocode(key,address,city=None,batch=None)->str:\n",
    "    url = \"https://restapi.amap.com/v3/geocode/geo?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"address\":address,\n",
    "        \"city\":city,\n",
    "        \"batch\":batch\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()['geocodes'][0]['location']\n",
    "    # 返回值\n",
    "    return results\n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 53,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'113.679287,23.632575'"
      ]
     },
     "execution_count": 53,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "中大南方 = geocode(key,origin)\n",
    "中大南方"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 54,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'113.588823,23.547738'"
      ]
     },
     "execution_count": 54,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "从化客运站 = geocode(key,destination)\n",
    "从化客运站"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 55,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 55,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 步行\n",
    "url = \"https://restapi.amap.com/v3/direction/walking?parameters\"\n",
    "params = {\n",
    "    \"key\":key,\n",
    "    \"origin\":中大南方,\n",
    "    \"destination\":从化客运站\n",
    "}\n",
    "r = requests.get(url,params)\n",
    "r"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 56,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[{'distance': '16428',\n",
       "  'duration': '13142',\n",
       "  'steps': [{'instruction': '向东步行101米右转',\n",
       "    'orientation': '东',\n",
       "    'road': [],\n",
       "    'distance': '101',\n",
       "    'duration': '81',\n",
       "    'polyline': '113.679592,23.632491;113.680586,23.632522',\n",
       "    'action': '右转',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '向南步行199米向右前方行走',\n",
       "    'orientation': '南',\n",
       "    'road': [],\n",
       "    'distance': '199',\n",
       "    'duration': '159',\n",
       "    'polyline': '113.680586,23.632522;113.680638,23.63214;113.680668,23.63174;113.680634,23.631541;113.68059,23.631437;113.68059,23.631437;113.680499,23.631241;113.680408,23.631094;113.680208,23.630842',\n",
       "    'action': '向右前方行走',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '向西步行159米左转',\n",
       "    'orientation': '西',\n",
       "    'road': [],\n",
       "    'distance': '159',\n",
       "    'duration': '127',\n",
       "    'polyline': '113.680204,23.630838;113.680035,23.630773;113.680035,23.630773;113.679644,23.630638;113.679644,23.630638;113.679362,23.630521;113.679201,23.630473;113.679201,23.630473;113.679032,23.63043;113.679032,23.63043;113.67888,23.630404;113.67888,23.630404;113.678711,23.630365',\n",
       "    'action': '左转',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '向南步行237米左转',\n",
       "    'orientation': '南',\n",
       "    'road': [],\n",
       "    'distance': '237',\n",
       "    'duration': '190',\n",
       "    'polyline': '113.678711,23.63036;113.678711,23.62934;113.678711,23.62934;113.678711,23.629193;113.678689,23.629084;113.678637,23.629023;113.678424,23.628902;113.678368,23.628841;113.678316,23.628724;113.678294,23.628611;113.678294,23.628611;113.678277,23.628372',\n",
       "    'action': '左转',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '向南步行498米向右前方行走',\n",
       "    'orientation': '南',\n",
       "    'road': [],\n",
       "    'distance': '498',\n",
       "    'duration': '398',\n",
       "    'polyline': '113.678273,23.628368;113.678572,23.628338;113.678685,23.628307;113.678685,23.628307;113.678845,23.628234;113.679045,23.628073;113.679158,23.627964;113.679158,23.627964;113.679214,23.627869;113.679236,23.627778;113.67928,23.627526;113.679288,23.627322;113.679288,23.627322;113.679253,23.626853;113.679184,23.626623;113.679141,23.626497;113.679002,23.626259;113.678941,23.626176;113.678711,23.625977;113.67862,23.625864;113.678529,23.62572;113.678438,23.625191;113.678429,23.625056;113.678451,23.624939;113.678572,23.624657',\n",
       "    'action': '向右前方行走',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '向西南步行722米左转',\n",
       "    'orientation': '西南',\n",
       "    'road': [],\n",
       "    'distance': '722',\n",
       "    'duration': '578',\n",
       "    'polyline': '113.678572,23.624653;113.678559,23.62451;113.678416,23.624323;113.678416,23.624323;113.677582,23.623793;113.676532,23.623346;113.676363,23.623255;113.676272,23.623151;113.676111,23.622834;113.676042,23.622739;113.67579,23.622483;113.675499,23.622279;113.675417,23.622174;113.675386,23.622088;113.675378,23.621836;113.675378,23.621836;113.675391,23.62161;113.675434,23.621476;113.675543,23.621359;113.675764,23.621181;113.675846,23.621089;113.675903,23.620994;113.675907,23.620855;113.675877,23.620725;113.675747,23.620547;113.675599,23.620373;113.675243,23.620013',\n",
       "    'action': '左转',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '向东南步行412米向右前方行走',\n",
       "    'orientation': '东南',\n",
       "    'road': [],\n",
       "    'distance': '412',\n",
       "    'duration': '330',\n",
       "    'polyline': '113.675239,23.620009;113.67549,23.620013;113.675642,23.619991;113.675773,23.619948;113.676016,23.619796;113.676901,23.619193;113.677261,23.618785;113.678069,23.61783;113.678069,23.61783;113.678181,23.617656',\n",
       "    'action': '向右前方行走',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿乌土街向南步行1381米右转',\n",
       "    'orientation': '南',\n",
       "    'road': '乌土街',\n",
       "    'distance': '1381',\n",
       "    'duration': '1105',\n",
       "    'polyline': '113.678181,23.617652;113.678095,23.617205;113.678051,23.617075;113.677973,23.616923;113.677743,23.616558;113.677609,23.616289;113.677391,23.615816;113.677339,23.615668;113.67714,23.614826;113.677049,23.614323;113.676927,23.613359;113.676845,23.612786;113.676602,23.611489;113.676415,23.610438;113.676411,23.610265;113.676411,23.610265;113.676489,23.609848;113.676502,23.609622;113.676493,23.609236;113.676415,23.608746;113.676415,23.608485;113.67648,23.60819;113.67661,23.607734;113.676819,23.606736;113.676862,23.606541;113.676914,23.606415;113.677014,23.606254;113.677535,23.605673',\n",
       "    'action': '右转',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿乌土街向西南步行165米直行',\n",
       "    'orientation': '西南',\n",
       "    'road': '乌土街',\n",
       "    'distance': '165',\n",
       "    'duration': '132',\n",
       "    'polyline': '113.677535,23.605668;113.676988,23.605373;113.676402,23.605;113.676163,23.604887',\n",
       "    'action': '直行',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿934县道向西步行118米直行',\n",
       "    'orientation': '西',\n",
       "    'road': '934县道',\n",
       "    'distance': '118',\n",
       "    'duration': '94',\n",
       "    'polyline': '113.676159,23.604883;113.675799,23.604805;113.675508,23.604779;113.675508,23.604779;113.675013,23.60474',\n",
       "    'action': '直行',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿桃园东路向西南步行674米向右前方行走',\n",
       "    'orientation': '西南',\n",
       "    'road': '桃园东路',\n",
       "    'distance': '674',\n",
       "    'duration': '539',\n",
       "    'polyline': '113.675009,23.604735;113.674236,23.604683;113.673893,23.604618;113.673464,23.604492;113.673464,23.604492;113.67168,23.604006;113.671541,23.603958;113.671411,23.603854;113.671068,23.603472;113.670807,23.603264;113.670807,23.603264;113.670525,23.603073;113.6702,23.602904;113.6702,23.602904;113.670022,23.602795;113.670022,23.602795;113.669909,23.602682;113.669818,23.602517;113.669787,23.602413;113.669718,23.601901',\n",
       "    'action': '向右前方行走',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿桃园东路向西南步行247米直行',\n",
       "    'orientation': '西南',\n",
       "    'road': '桃园东路',\n",
       "    'distance': '247',\n",
       "    'duration': '198',\n",
       "    'polyline': '113.669714,23.601897;113.66964,23.601771;113.66964,23.601771;113.669488,23.601558;113.669488,23.601558;113.668789,23.600859;113.668663,23.600768;113.668663,23.600768;113.668442,23.600647;113.667947,23.600417',\n",
       "    'action': '直行',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿桃园西路向西南步行2775米向右前方行走',\n",
       "    'orientation': '西南',\n",
       "    'road': '桃园西路',\n",
       "    'distance': '2775',\n",
       "    'duration': '2220',\n",
       "    'polyline': '113.667943,23.600412;113.667331,23.600139;113.667331,23.600139;113.666224,23.599644;113.665955,23.599505;113.665955,23.599505;113.665781,23.599362;113.665781,23.599362;113.665521,23.599093;113.665521,23.599093;113.665286,23.598824;113.665286,23.598824;113.665256,23.598785;113.665256,23.598785;113.664796,23.598238;113.664796,23.598238;113.664401,23.597622;113.664401,23.597622;113.664071,23.59714;113.663746,23.59678;113.663746,23.59678;113.663477,23.59651;113.663477,23.59651;113.66224,23.595434;113.66224,23.595434;113.661563,23.594848;113.661563,23.594848;113.661311,23.594605;113.66115,23.594414;113.660907,23.594032;113.660907,23.594032;113.660829,23.593889;113.660729,23.593598;113.660547,23.593025;113.660464,23.592804;113.660464,23.592804;113.659931,23.591593;113.659831,23.591393;113.659631,23.59105;113.659631,23.59105;113.659115,23.59023;113.658824,23.589592;113.658824,23.589592;113.658754,23.589405;113.658754,23.589405;113.657817,23.58714;113.657747,23.586936;113.657695,23.586693;113.657548,23.585369;113.657548,23.585369;113.657483,23.585161;113.657326,23.584896;113.657326,23.584896;113.657114,23.58457;113.657062,23.584453;113.65691,23.583924;113.656884,23.583785;113.656879,23.583681;113.656888,23.583572;113.656979,23.58326;113.657066,23.58303;113.657157,23.582852;113.657378,23.582539;113.657431,23.582444;113.65747,23.582344;113.657483,23.582235;113.657483,23.582109;113.657435,23.580777;113.657405,23.580616;113.657405,23.580616;113.657296,23.580308;113.657244,23.580221;113.656723,23.579644;113.656723,23.579644;113.656597,23.579488;113.656411,23.579362',\n",
       "    'action': '向右前方行走',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿石海工业大道向西南步行1838米直行',\n",
       "    'orientation': '西南',\n",
       "    'road': '石海工业大道',\n",
       "    'distance': '1838',\n",
       "    'duration': '1470',\n",
       "    'polyline': '113.656406,23.579358;113.656055,23.57931;113.656055,23.57931;113.655091,23.579089;113.654918,23.579023;113.654566,23.57885;113.654566,23.57885;113.653681,23.578372;113.653681,23.578372;113.653429,23.578247;113.653429,23.578247;113.652713,23.577865;113.652713,23.577865;113.652452,23.577704;113.652001,23.577387;113.652001,23.577387;113.651654,23.577105;113.651654,23.577105;113.651437,23.57694;113.651437,23.57694;113.650681,23.576332;113.650681,23.576332;113.650378,23.576094;113.650378,23.576094;113.649674,23.575534;113.649674,23.575534;113.649583,23.575451;113.649583,23.575451;113.64924,23.575182;113.64924,23.575182;113.647409,23.573754;113.647409,23.573754;113.647279,23.573641;113.646793,23.573155;113.646793,23.573155;113.64661,23.57296;113.64661,23.57296;113.646419,23.572778;113.646419,23.572778;113.646202,23.572565;113.645968,23.57237;113.645252,23.571866;113.645252,23.571866;113.644974,23.571732;113.644974,23.571732;113.644883,23.571706;113.644618,23.571671;113.643967,23.571675;113.643967,23.571675;113.643511,23.57168;113.643511,23.57168;113.64329,23.57168;113.643047,23.571654;113.64293,23.571632;113.642548,23.571502;113.642326,23.571411;113.641979,23.571228;113.641636,23.571003;113.641636,23.571003;113.641437,23.57082',\n",
       "    'action': '直行',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿政通路向西南步行2161米直行',\n",
       "    'orientation': '西南',\n",
       "    'road': '政通路',\n",
       "    'distance': '2161',\n",
       "    'duration': '1729',\n",
       "    'polyline': '113.641432,23.570816;113.641168,23.570525;113.641168,23.570525;113.640964,23.570265;113.640864,23.570156;113.640864,23.570156;113.640651,23.569978;113.640408,23.569822;113.638902,23.569006;113.638902,23.569006;113.638398,23.568746;113.638056,23.568611;113.637695,23.568529;113.637431,23.568507;113.637209,23.568516;113.637209,23.568516;113.636836,23.568576;113.636836,23.568576;113.636484,23.568676;113.636484,23.568676;113.635334,23.569058;113.633754,23.569614;113.633485,23.569674;113.633251,23.569692;113.633251,23.569692;113.633069,23.569688;113.633069,23.569688;113.632778,23.569635;113.632378,23.569492;113.631992,23.569319;113.631853,23.569223;113.631801,23.569158;113.631701,23.568997;113.631441,23.568338;113.631441,23.568338;113.63128,23.567947;113.63128,23.567947;113.63122,23.567834;113.631089,23.567656;113.630946,23.567526;113.630768,23.567387;113.630768,23.567387;113.630456,23.567157;113.630456,23.567157;113.630113,23.566884;113.630113,23.566884;113.629596,23.566458;113.629063,23.565799;113.628359,23.565174;113.62826,23.565026;113.62806,23.564592;113.627665,23.56395;113.627574,23.563815;113.627413,23.56365;113.626576,23.563003;113.626254,23.562804;113.625964,23.562682;113.624987,23.562365',\n",
       "    'action': '直行',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿灌村路向西步行781米左转',\n",
       "    'orientation': '西',\n",
       "    'road': '灌村路',\n",
       "    'distance': '781',\n",
       "    'duration': '625',\n",
       "    'polyline': '113.624983,23.562361;113.624431,23.562183;113.62349,23.56191;113.623216,23.561771;113.623003,23.561593;113.622661,23.561185;113.622049,23.560525;113.621936,23.560421;113.621775,23.560317;113.621515,23.560226;113.620226,23.559926;113.619579,23.559761;113.619427,23.559744;113.619427,23.559744;113.619188,23.559731;113.619188,23.559731;113.618555,23.559796;113.618355,23.559839;113.618251,23.559887',\n",
       "    'action': '左转',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿环市东路向西南步行1583米向右前方行走',\n",
       "    'orientation': '西南',\n",
       "    'road': '环市东路',\n",
       "    'distance': '1583',\n",
       "    'duration': '1266',\n",
       "    'polyline': '113.618247,23.559887;113.617626,23.559271;113.617626,23.559271;113.615794,23.557474;113.615794,23.557474;113.615213,23.556905;113.615213,23.556905;113.614093,23.55579;113.614093,23.55579;113.613832,23.55549;113.613832,23.55549;113.613628,23.555217;113.613628,23.555217;113.613429,23.554926;113.613429,23.554926;113.613138,23.554418;113.612778,23.553516;113.612778,23.553516;113.612756,23.553442;113.612756,23.553442;113.612682,23.553251;113.612682,23.553251;113.612656,23.553181;113.612656,23.553181;113.612344,23.552339;113.612344,23.552339;113.612192,23.551949;113.612192,23.551949;113.61207,23.551658;113.611888,23.551354;113.611606,23.550968;113.611476,23.550812;113.611246,23.550577;113.610551,23.55;113.610551,23.55;113.610065,23.549609;113.610065,23.549609;113.609514,23.549162;113.609514,23.549162;113.609071,23.548746;113.609071,23.548746;113.608971,23.548641',\n",
       "    'action': '向右前方行走',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿河东北路向西步行1383米向左前方行走',\n",
       "    'orientation': '西',\n",
       "    'road': '河东北路',\n",
       "    'distance': '1383',\n",
       "    'duration': '1106',\n",
       "    'polyline': '113.608967,23.548637;113.608767,23.548576;113.608767,23.548576;113.608589,23.548503;113.607548,23.547921;113.607548,23.547921;113.606918,23.54763;113.606918,23.54763;113.606875,23.547613;113.606875,23.547613;113.60648,23.547439;113.60648,23.547439;113.60477,23.546671;113.60477,23.546671;113.604701,23.546641;113.604701,23.546641;113.60424,23.546471;113.603954,23.54638;113.603555,23.546289;113.603555,23.546289;113.603108,23.546233;113.603108,23.546233;113.602839,23.546207;113.602839,23.546207;113.602296,23.546194;113.602075,23.546198;113.602075,23.546198;113.601628,23.546228;113.601628,23.546228;113.600985,23.546259;113.600985,23.546259;113.600321,23.54628;113.600321,23.54628;113.600304,23.54628;113.600304,23.54628;113.599618,23.546306;113.599076,23.546306;113.599076,23.546306;113.598498,23.54628;113.598498,23.54628;113.597439,23.546233;113.597439,23.546233;113.596806,23.546155;113.596806,23.546155;113.596276,23.546085;113.596276,23.546085;113.595964,23.546029',\n",
       "    'action': '向左前方行走',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿河东北路向西南步行60米向左前方行走',\n",
       "    'orientation': '西南',\n",
       "    'road': '河东北路',\n",
       "    'distance': '60',\n",
       "    'duration': '48',\n",
       "    'polyline': '113.595959,23.546024;113.595803,23.545964;113.59572,23.545907;113.595642,23.545842;113.595547,23.545673',\n",
       "    'action': '向左前方行走',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿河东北路向南步行129米右转',\n",
       "    'orientation': '南',\n",
       "    'road': '河东北路',\n",
       "    'distance': '129',\n",
       "    'duration': '103',\n",
       "    'polyline': '113.595543,23.545668;113.595486,23.545386;113.595486,23.545386;113.595486,23.545308;113.595525,23.545135;113.595525,23.545135;113.595764,23.54454',\n",
       "    'action': '右转',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿355省道向西步行407米直行',\n",
       "    'orientation': '西',\n",
       "    'road': '355省道',\n",
       "    'distance': '407',\n",
       "    'duration': '326',\n",
       "    'polyline': '113.595764,23.544536;113.595681,23.544536;113.595681,23.544536;113.595547,23.544536;113.595547,23.544536;113.595269,23.544536;113.595269,23.544536;113.594957,23.544588;113.594631,23.544674;113.594631,23.544674;113.594575,23.544692;113.594575,23.544692;113.592144,23.545369;113.592144,23.545369;113.591892,23.545447',\n",
       "    'action': '直行',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿新城东路向西北步行398米到达目的地',\n",
       "    'orientation': '西北',\n",
       "    'road': '新城东路',\n",
       "    'distance': '398',\n",
       "    'duration': '318',\n",
       "    'polyline': '113.591888,23.545447;113.591784,23.545516;113.591784,23.545516;113.590738,23.546155;113.590738,23.546155;113.590404,23.546367;113.590404,23.546367;113.590043,23.546584;113.590043,23.546584;113.589779,23.546745;113.589779,23.546745;113.589518,23.546905;113.589518,23.546905;113.588624,23.547461',\n",
       "    'action': [],\n",
       "    'assistant_action': '到达目的地',\n",
       "    'walk_type': '0'}]}]"
      ]
     },
     "execution_count": 56,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "r.json()['route']['paths']"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 公交车\n",
    "\n",
    "> * 1、url:https://restapi.amap.com/v3/direction/transit/integrated?parameters   \n",
    "> * 2、requests.get()\n",
    "> * 3、参数：\n",
    "\n",
    ">> * A.必选：key,origin,destination,city \n",
    ">> * B.可选：cityd（跨城必填），extensions，strategy，nightflag，date，time，sig，output，callback"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 57,
   "metadata": {},
   "outputs": [],
   "source": [
    "def bus(origin,destination,city,cityd=None,extensions='base',strategy=None,nightflag=0,date=None,time=None,sig=None)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/direction/transit/integrated?parameters'\n",
    "    params={\n",
    "        'key':key,\n",
    "        'origin':origin,\n",
    "        'destination':destination,\n",
    "        'city':city,\n",
    "        'cityd':cityd,\n",
    "        'extensions':extensions,\n",
    "        'strategy':strategy,\n",
    "        'nightflag':nightflag,\n",
    "        'date':date,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 58,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'113.679287,23.632575'"
      ]
     },
     "execution_count": 58,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "中大南方 = geocode(key,origin)\n",
    "中大南方"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 59,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'113.588823,23.547738'"
      ]
     },
     "execution_count": 59,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "从化客运站 = geocode(key,destination)\n",
    "从化客运站"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 60,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'info': 'OK', 'infocode': '10000', 'count': '4', 'route': {'origin': '113.679287,23.632575', 'destination': '113.588823,23.547738', 'distance': '17060', 'taxi_cost': '47', 'transits': [{'cost': [], 'duration': '4987', 'nightflag': '0', 'walking_distance': '773', 'distance': '19802', 'missed': '0', 'segments': [{'taxi': [], 'walking': {'origin': '113.679016,23.632349', 'destination': '113.676613,23.631285', 'distance': '513', 'duration': '439', 'steps': [{'instruction': '步行57米右转', 'road': [], 'distance': '57', 'duration': [], 'polyline': '113.679016,23.632349;113.678528,23.632097', 'action': '右转', 'assistant_action': []}, {'instruction': '步行47米向左前方行走', 'road': [], 'distance': '47', 'duration': [], 'polyline': '113.678528,23.632092;113.678398,23.632166;113.678101,23.632261', 'action': '向左前方行走', 'assistant_action': []}, {'instruction': '步行218米左转', 'road': [], 'distance': '218', 'duration': [], 'polyline': '113.678101,23.632261;113.677834,23.632261;113.677551,23.632200;113.677399,23.632179;113.677284,23.632200;113.677177,23.632244;113.677017,23.632357;113.676811,23.632534;113.676582,23.632778;113.676430,23.632904;113.676292,23.632969', 'action': '左转', 'assistant_action': []}, {'instruction': '沿博学路步行191米到达中大南方学院', 'road': '博学路', 'distance': '191', 'duration': [], 'polyline': '113.676285,23.632969;113.676292,23.632227;113.676338,23.631948;113.676430,23.631676;113.676491,23.631540;113.676613,23.631285', 'action': [], 'assistant_action': '到达中大南方学院'}]}, 'bus': {'buslines': [{'departure_stop': {'name': '中大南方学院', 'id': '900000111141002', 'location': '113.676613,23.631281'}, 'arrival_stop': {'name': '江埔社区', 'id': '900000111141014', 'location': '113.618210,23.573103'}, 'name': '从15路(中大南方学院--从化汽车站总站)', 'id': '900000111141', 'type': '普通公交线路', 'distance': '13472', 'duration': '2610', 'polyline': '113.676613,23.631281;113.676460,23.631588;113.676430,23.631672;113.676338,23.631945;113.676292,23.632223;113.676285,23.632969;113.676285,23.633560;113.676300,23.633738;113.676331,23.633875;113.676399,23.634016;113.676460,23.634111;113.676521,23.634193;113.676781,23.634409;113.676857,23.634357;113.676933,23.634340;113.677032,23.634354;113.677094,23.634396;113.677139,23.634459;113.677147,23.634535;113.677139,23.634600;113.677086,23.634663;113.677032,23.634701;113.676918,23.634718;113.676857,23.634701;113.676788,23.634657;113.675262,23.636129;113.675156,23.636263;113.675026,23.636467;113.674973,23.636566;113.674957,23.636702;113.674957,23.636845;113.674995,23.636995;113.675377,23.637886;113.675430,23.638042;113.675522,23.638659;113.675529,23.638998;113.675514,23.639132;113.675446,23.639311;113.675331,23.639582;113.675102,23.640036;113.675003,23.640186;113.674309,23.641024;113.673347,23.642139;113.672981,23.642536;113.672935,23.642578;113.672173,23.643307;113.671707,23.643766;113.671432,23.644045;113.673103,23.644968;113.674362,23.645651;113.675461,23.646276;113.675964,23.646635;113.676407,23.647018;113.676376,23.647089;113.675964,23.646744;113.675735,23.646566;113.675468,23.646385;113.675095,23.646172;113.673004,23.645004;113.669968,23.643330;113.669167,23.642881;113.668770,23.642673;113.668594,23.642578;113.667007,23.641693;113.666145,23.641171;113.665314,23.640564;113.665253,23.640511;113.665016,23.640301;113.664772,23.640064;113.664551,23.639812;113.664406,23.639662;113.664207,23.639400;113.663925,23.639021;113.663574,23.638451;113.663361,23.638020;113.662323,23.635933;113.661949,23.635181;113.661461,23.634266;113.661224,23.633898;113.660843,23.633383;113.660683,23.633192;113.660248,23.632704;113.659721,23.632172;113.659370,23.631880;113.659256,23.631794;113.658989,23.631588;113.658897,23.631519;113.658211,23.631102;113.657707,23.630760;113.657425,23.630590;113.656944,23.630304;113.656940,23.630304;113.654336,23.628741;113.653850,23.628416;113.653598,23.628225;113.652383,23.627179;113.650165,23.625326;113.650022,23.625221;113.649766,23.625013;113.649731,23.624987;113.649731,23.624983;113.648980,23.624384;113.648611,23.624063;113.647843,23.623442;113.647361,23.623090;113.646780,23.622721;113.646345,23.622465;113.645981,23.622287;113.645595,23.622131;113.645117,23.621992;113.644709,23.621914;113.644640,23.621901;113.644635,23.621901;113.644375,23.621862;113.643255,23.621749;113.642578,23.621667;113.642474,23.621645;113.642027,23.621541;113.641450,23.621354;113.640525,23.621033;113.639332,23.620603;113.639184,23.620543;113.638850,23.620412;113.638433,23.620213;113.638325,23.620156;113.638329,23.620155;113.636047,23.618944;113.635544,23.618668;113.635254,23.618481;113.634750,23.618097;113.634514,23.617891;113.634254,23.617622;113.633980,23.617271;113.633636,23.616779;113.633057,23.615911;113.632957,23.615774;113.632401,23.614927;113.631912,23.614172;113.631660,23.613710;113.631432,23.613142;113.631287,23.612659;113.630905,23.611076;113.630844,23.610802;113.630844,23.610798;113.630768,23.610516;113.630661,23.610060;113.630569,23.609705;113.630554,23.609617;113.630501,23.609388;113.630119,23.607822;113.629776,23.606388;113.629395,23.604740;113.628891,23.602587;113.628479,23.600821;113.628136,23.599293;113.627968,23.598680;113.627953,23.598633;113.627884,23.598433;113.627785,23.598202;113.627632,23.597919;113.627487,23.597683;113.627281,23.597401;113.627037,23.597139;113.626106,23.596230;113.625641,23.595755;113.624992,23.595139;113.624092,23.594326;113.623161,23.593433;113.622879,23.593147;113.622734,23.592981;113.622383,23.592590;113.622055,23.592186;113.621872,23.591957;113.621574,23.591545;113.621292,23.591133;113.621117,23.590864;113.620880,23.590433;113.620735,23.590164;113.620674,23.590054;113.620673,23.590052;113.620603,23.589913;113.619475,23.587643;113.619401,23.587491;113.619401,23.587487;113.619175,23.587040;113.618984,23.586658;113.618893,23.586471;113.618598,23.585868;113.618108,23.584874;113.617930,23.584440;113.617769,23.583928;113.617708,23.583646;113.617630,23.583073;113.617582,23.582478;113.617578,23.582357;113.617578,23.582361;113.617584,23.582365;113.617584,23.582359;113.617554,23.581884;113.617485,23.580811;113.617477,23.580591;113.617485,23.580204;113.617493,23.579849;113.617554,23.579384;113.617668,23.578743;113.617760,23.578316;113.617790,23.578138;113.618042,23.576904;113.618080,23.576723;113.618095,23.576658;113.618118,23.576557;113.618187,23.576189;113.618347,23.575378;113.618416,23.574808;113.618423,23.574497;113.618408,23.574158;113.618286,23.573481;113.618263,23.573381;113.618210,23.573103', 'bustimetag': '0', 'start_time': '0900', 'end_time': '1800', 'via_num': '11', 'via_stops': [{'name': '卫东', 'id': '900000111141003', 'location': '113.671707,23.643766'}, {'name': '交警温泉中队', 'id': '900000111141029', 'location': '113.656944,23.630304'}, {'name': '冲口', 'id': '900000111141022', 'location': '113.649731,23.624987'}, {'name': '牛步迳', 'id': '900000111141006', 'location': '113.644640,23.621901'}, {'name': '华辉度假村', 'id': '900000111141023', 'location': '113.638325,23.620156'}, {'name': '温泉镇政府', 'id': '900000111141008', 'location': '113.632957,23.615774'}, {'name': '云星村', 'id': '900000111141024', 'location': '113.630844,23.610802'}, {'name': '宣星路口', 'id': '900000111141010', 'location': '113.628891,23.602587'}, {'name': '新华', 'id': '900000111141011', 'location': '113.620674,23.590054'}, {'name': '水底村', 'id': '900000111141012', 'location': '113.619401,23.587491'}, {'name': '南洋学院', 'id': '900000111141028', 'location': '113.617578,23.582357'}]}]}, 'entrance': [], 'exit': [], 'railway': {'via_stops': [], 'alters': [], 'spaces': []}}, {'taxi': [], 'walking': {'origin': '113.618210,23.573099', 'destination': '113.618202,23.573051', 'distance': '5', 'duration': '4', 'steps': [{'instruction': '沿环市东路步行5米到达江埔社区', 'road': '环市东路', 'distance': '5', 'duration': [], 'polyline': '113.618210,23.573099;113.618202,23.573051', 'action': [], 'assistant_action': '到达江埔社区'}]}, 'bus': {'buslines': [{'departure_stop': {'name': '江埔社区', 'id': '900000077947014', 'location': '113.618195,23.573051'}, 'arrival_stop': {'name': '新世纪广场', 'id': '900000077947027', 'location': '113.588890,23.548321'}, 'name': '从4路短线(温泉农贸市场--从化汽车站总站)', 'id': '900000077947', 'type': '普通公交线路', 'distance': '5557', 'duration': '1715', 'polyline': '113.618195,23.573051;113.618179,23.572929;113.618088,23.572496;113.618057,23.572327;113.618042,23.572153;113.618004,23.571901;113.617996,23.571598;113.617996,23.571442;113.618004,23.571232;113.618042,23.570911;113.618073,23.570568;113.618317,23.568914;113.618347,23.568768;113.618469,23.567947;113.618507,23.567574;113.618645,23.566696;113.618759,23.565947;113.618698,23.565739;113.618675,23.565678;113.618622,23.565590;113.618538,23.565521;113.618370,23.565392;113.617310,23.565460;113.614960,23.565613;113.614754,23.565556;113.613747,23.565599;113.611832,23.565725;113.608177,23.565924;113.607445,23.565968;113.607338,23.565985;113.607239,23.566015;113.607147,23.566069;113.607086,23.566120;113.607018,23.566198;113.606979,23.566246;113.606964,23.566355;113.606972,23.566423;113.607018,23.566532;113.607063,23.566589;113.607170,23.566658;113.607239,23.566685;113.607307,23.566696;113.607529,23.566692;113.608070,23.566654;113.608040,23.566120;113.607971,23.565022;113.607948,23.564657;113.607903,23.563993;113.607758,23.561975;113.607689,23.560976;113.607674,23.560760;113.607635,23.559965;113.607567,23.558090;113.607552,23.557634;113.607552,23.557491;113.607536,23.557161;113.607536,23.557158;113.607498,23.556211;113.607483,23.555820;113.607460,23.555616;113.607414,23.555439;113.607346,23.555252;113.607254,23.555079;113.607155,23.554909;113.606979,23.554726;113.606926,23.554678;113.606369,23.554157;113.606369,23.554153;113.605904,23.553724;113.605728,23.553528;113.605431,23.553143;113.605240,23.552938;113.604378,23.552135;113.604202,23.551996;113.604004,23.551863;113.603752,23.551723;113.603508,23.551615;113.603455,23.551598;113.603455,23.551594;113.603210,23.551516;113.603065,23.551476;113.602882,23.551445;113.602608,23.551414;113.602379,23.551401;113.600624,23.551394;113.599731,23.551394;113.599213,23.551397;113.599144,23.551397;113.598633,23.551394;113.598373,23.551384;113.597778,23.551397;113.596657,23.551394;113.596596,23.551384;113.596207,23.551376;113.596008,23.551353;113.595757,23.551289;113.595156,23.551252;113.595032,23.550898;113.594704,23.550690;113.594452,23.550533;113.593994,23.550255;113.593735,23.550108;113.593437,23.549923;113.593216,23.549757;113.593063,23.549587;113.593002,23.549494;113.592934,23.549240;113.592842,23.548624;113.592834,23.548433;113.592834,23.548429;113.592827,23.548269;113.592781,23.547560;113.592644,23.547079;113.592606,23.546940;113.592606,23.546944;113.592621,23.546944;113.592621,23.546940;113.592537,23.546675;113.592361,23.546249;113.591469,23.547113;113.591110,23.547375;113.590714,23.547590;113.590599,23.547651;113.590424,23.547747;113.590096,23.547930;113.589523,23.548264;113.589432,23.548285;113.589287,23.548307;113.588890,23.548321', 'bustimetag': '0', 'start_time': '0800', 'end_time': '2000', 'via_num': '12', 'via_stops': [{'name': '江村', 'id': '900000077947015', 'location': '113.618317,23.568914'}, {'name': '迎宾大桥', 'id': '900000077947016', 'location': '113.617310,23.565460'}, {'name': '殷家庄', 'id': '900000077947017', 'location': '113.607948,23.564657'}, {'name': '儿童公园', 'id': '900000077947018', 'location': '113.607674,23.560760'}, {'name': '法院检察院站', 'id': '900000077947019', 'location': '113.607536,23.557161'}, {'name': '从化图书馆', 'id': '900000077947020', 'location': '113.606369,23.554157'}, {'name': '自来水公司', 'id': '900000077947021', 'location': '113.603455,23.551598'}, {'name': '从化广播电视台', 'id': '900000077947022', 'location': '113.599731,23.551394'}, {'name': '从化政务服务中心', 'id': '900000077947023', 'location': '113.594452,23.550533'}, {'name': '儿童乐园', 'id': '900000077947024', 'location': '113.592834,23.548433'}, {'name': '河堤广场', 'id': '900000077947025', 'location': '113.592606,23.546940'}, {'name': '河滨公园', 'id': '900000077947026', 'location': '113.590714,23.547590'}]}, {'departure_stop': {'name': '江埔社区', 'id': '440100017384062', 'location': '113.618229,23.573194'}, 'arrival_stop': {'name': '新世纪广场', 'id': '440100017384046', 'location': '113.588837,23.548321'}, 'name': '从4路(温泉明月山溪总站--从化汽车站总站)', 'id': '440100017384', 'type': '普通公交线路', 'distance': '5511', 'duration': '1680', 'polyline': '113.618229,23.573194;113.618229,23.573190;113.618134,23.572730;113.618077,23.572431;113.618034,23.572153;113.618008,23.571901;113.617990,23.571445;113.618034,23.570911;113.618155,23.570013;113.618190,23.569787;113.618316,23.568954;113.618333,23.568824;113.618464,23.567951;113.618485,23.567786;113.618646,23.566697;113.618759,23.565946;113.618698,23.565738;113.618672,23.565673;113.618650,23.565634;113.618542,23.565521;113.618368,23.565386;113.617261,23.565443;113.617257,23.565443;113.615959,23.565512;113.614948,23.565560;113.613438,23.565625;113.612665,23.565673;113.611810,23.565725;113.608173,23.565924;113.607448,23.565968;113.607244,23.566016;113.607083,23.566115;113.607010,23.566198;113.606966,23.566306;113.606966,23.566376;113.606988,23.566471;113.607070,23.566589;113.607166,23.566658;113.607235,23.566684;113.607309,23.566697;113.607530,23.566693;113.608073,23.566654;113.608038,23.566124;113.608012,23.565673;113.607977,23.565135;113.607930,23.564436;113.607925,23.564440;113.607925,23.564436;113.607903,23.564020;113.607758,23.561975;113.607681,23.560751;113.607682,23.560747;113.607639,23.559965;113.607604,23.558984;113.607574,23.558099;113.607574,23.558043;113.607556,23.557635;113.607552,23.557491;113.607539,23.557170;113.607539,23.557166;113.607526,23.556697;113.607504,23.556211;113.607483,23.555825;113.607457,23.555612;113.607413,23.555438;113.607344,23.555256;113.607257,23.555082;113.607148,23.554909;113.606940,23.554688;113.606931,23.554674;113.606267,23.554058;113.606263,23.554058;113.605903,23.553724;113.605729,23.553533;113.605434,23.553147;113.605243,23.552938;113.604371,23.552135;113.604206,23.551997;113.604002,23.551862;113.603750,23.551719;113.603507,23.551610;113.603420,23.551584;113.603424,23.551584;113.603218,23.551516;113.602890,23.551445;113.602592,23.551416;113.602325,23.551403;113.601494,23.551394;113.601372,23.551394;113.600693,23.551394;113.600624,23.551394;113.599663,23.551394;113.599213,23.551397;113.599144,23.551397;113.598633,23.551394;113.598373,23.551384;113.597778,23.551397;113.596657,23.551394;113.596596,23.551384;113.596207,23.551376;113.596008,23.551353;113.595757,23.551289;113.595032,23.550898;113.594704,23.550690;113.594452,23.550537;113.594449,23.550534;113.593989,23.550256;113.593733,23.550113;113.593503,23.549965;113.593437,23.549922;113.593216,23.549757;113.592995,23.549466;113.592908,23.549110;113.592847,23.548624;113.592826,23.548268;113.592817,23.548147;113.592819,23.548147;113.592781,23.547560;113.592644,23.547079;113.592522,23.546671;113.592415,23.546415;113.592346,23.546280;113.591393,23.547153;113.591110,23.547373;113.590736,23.547577;113.590599,23.547651;113.590424,23.547747;113.590096,23.547930;113.589523,23.548264;113.589432,23.548285;113.589287,23.548307;113.588860,23.548325;113.588837,23.548321', 'bustimetag': '0', 'start_time': '0630', 'end_time': '2230', 'via_num': '11', 'via_stops': [{'name': '江村', 'id': '440100017384024', 'location': '113.618316,23.568954'}, {'name': '迎宾大桥', 'id': '440100017384025', 'location': '113.617261,23.565443'}, {'name': '殷家庄', 'id': '440100017384026', 'location': '113.607930,23.564436'}, {'name': '儿童公园', 'id': '440100017384073', 'location': '113.607681,23.560751'}, {'name': '法院检察院站', 'id': '440100017384060', 'location': '113.607539,23.557170'}, {'name': '图书馆', 'id': '440100017384074', 'location': '113.606267,23.554058'}, {'name': '自来水公司', 'id': '440100017384028', 'location': '113.603420,23.551584'}, {'name': '从化广播电视台', 'id': '440100017384029', 'location': '113.599663,23.551394'}, {'name': '从化政务服务中心', 'id': '440100017384045', 'location': '113.594452,23.550537'}, {'name': '从化博物馆', 'id': '440100017384075', 'location': '113.592817,23.548147'}, {'name': '河滨公园', 'id': '440100017384033', 'location': '113.590736,23.547577'}]}]}, 'entrance': [], 'exit': [], 'railway': {'via_stops': [], 'alters': [], 'spaces': []}}, {'taxi': [], 'walking': {'origin': '113.588799,23.548315', 'destination': '113.588623,23.547464', 'distance': '255', 'duration': '218', 'steps': [{'instruction': '沿东成路步行126米左转', 'road': '东成路', 'distance': '126', 'duration': [], 'polyline': '113.588799,23.548315;113.588615,23.548298;113.588364,23.548260;113.587570,23.548120', 'action': '左转', 'assistant_action': []}, {'instruction': '沿新城东路步行129米', 'road': '新城东路', 'distance': '129', 'duration': [], 'polyline': '113.587570,23.548117;113.587708,23.548025;113.588623,23.547464', 'action': [], 'assistant_action': []}]}, 'bus': {'buslines': []}, 'entrance': [], 'exit': [], 'railway': {'via_stops': [], 'alters': [], 'spaces': []}}]}, {'cost': '3.0', 'duration': '4787', 'nightflag': '0', 'walking_distance': '769', 'distance': '19679', 'missed': '0', 'segments': [{'taxi': [], 'walking': {'origin': '113.679016,23.632349', 'destination': '113.676613,23.631285', 'distance': '513', 'duration': '439', 'steps': [{'instruction': '步行57米右转', 'road': [], 'distance': '57', 'duration': [], 'polyline': '113.679016,23.632349;113.678528,23.632097', 'action': '右转', 'assistant_action': []}, {'instruction': '步行47米向左前方行走', 'road': [], 'distance': '47', 'duration': [], 'polyline': '113.678528,23.632092;113.678398,23.632166;113.678101,23.632261', 'action': '向左前方行走', 'assistant_action': []}, {'instruction': '步行218米左转', 'road': [], 'distance': '218', 'duration': [], 'polyline': '113.678101,23.632261;113.677834,23.632261;113.677551,23.632200;113.677399,23.632179;113.677284,23.632200;113.677177,23.632244;113.677017,23.632357;113.676811,23.632534;113.676582,23.632778;113.676430,23.632904;113.676292,23.632969', 'action': '左转', 'assistant_action': []}, {'instruction': '沿博学路步行191米到达中大南方学院', 'road': '博学路', 'distance': '191', 'duration': [], 'polyline': '113.676285,23.632969;113.676292,23.632227;113.676338,23.631948;113.676430,23.631676;113.676491,23.631540;113.676613,23.631285', 'action': [], 'assistant_action': '到达中大南方学院'}]}, 'bus': {'buslines': [{'departure_stop': {'name': '中大南方学院', 'id': '900000111141002', 'location': '113.676613,23.631281'}, 'arrival_stop': {'name': '凤院路口', 'id': '900000111141016', 'location': '113.610443,23.550087'}, 'name': '从15路(中大南方学院--从化汽车站总站)', 'id': '900000111141', 'type': '普通公交线路', 'distance': '16263', 'duration': '2956', 'polyline': '113.676613,23.631281;113.676460,23.631588;113.676430,23.631672;113.676338,23.631945;113.676292,23.632223;113.676285,23.632969;113.676285,23.633560;113.676300,23.633738;113.676331,23.633875;113.676399,23.634016;113.676460,23.634111;113.676521,23.634193;113.676781,23.634409;113.676857,23.634357;113.676933,23.634340;113.677032,23.634354;113.677094,23.634396;113.677139,23.634459;113.677147,23.634535;113.677139,23.634600;113.677086,23.634663;113.677032,23.634701;113.676918,23.634718;113.676857,23.634701;113.676788,23.634657;113.675262,23.636129;113.675156,23.636263;113.675026,23.636467;113.674973,23.636566;113.674957,23.636702;113.674957,23.636845;113.674995,23.636995;113.675377,23.637886;113.675430,23.638042;113.675522,23.638659;113.675529,23.638998;113.675514,23.639132;113.675446,23.639311;113.675331,23.639582;113.675102,23.640036;113.675003,23.640186;113.674309,23.641024;113.673347,23.642139;113.672981,23.642536;113.672935,23.642578;113.672173,23.643307;113.671707,23.643766;113.671432,23.644045;113.673103,23.644968;113.674362,23.645651;113.675461,23.646276;113.675964,23.646635;113.676407,23.647018;113.676376,23.647089;113.675964,23.646744;113.675735,23.646566;113.675468,23.646385;113.675095,23.646172;113.673004,23.645004;113.669968,23.643330;113.669167,23.642881;113.668770,23.642673;113.668594,23.642578;113.667007,23.641693;113.666145,23.641171;113.665314,23.640564;113.665253,23.640511;113.665016,23.640301;113.664772,23.640064;113.664551,23.639812;113.664406,23.639662;113.664207,23.639400;113.663925,23.639021;113.663574,23.638451;113.663361,23.638020;113.662323,23.635933;113.661949,23.635181;113.661461,23.634266;113.661224,23.633898;113.660843,23.633383;113.660683,23.633192;113.660248,23.632704;113.659721,23.632172;113.659370,23.631880;113.659256,23.631794;113.658989,23.631588;113.658897,23.631519;113.658211,23.631102;113.657707,23.630760;113.657425,23.630590;113.656944,23.630304;113.656940,23.630304;113.654336,23.628741;113.653850,23.628416;113.653598,23.628225;113.652383,23.627179;113.650165,23.625326;113.650022,23.625221;113.649766,23.625013;113.649731,23.624987;113.649731,23.624983;113.648980,23.624384;113.648611,23.624063;113.647843,23.623442;113.647361,23.623090;113.646780,23.622721;113.646345,23.622465;113.645981,23.622287;113.645595,23.622131;113.645117,23.621992;113.644709,23.621914;113.644640,23.621901;113.644635,23.621901;113.644375,23.621862;113.643255,23.621749;113.642578,23.621667;113.642474,23.621645;113.642027,23.621541;113.641450,23.621354;113.640525,23.621033;113.639332,23.620603;113.639184,23.620543;113.638850,23.620412;113.638433,23.620213;113.638325,23.620156;113.638329,23.620155;113.636047,23.618944;113.635544,23.618668;113.635254,23.618481;113.634750,23.618097;113.634514,23.617891;113.634254,23.617622;113.633980,23.617271;113.633636,23.616779;113.633057,23.615911;113.632957,23.615774;113.632401,23.614927;113.631912,23.614172;113.631660,23.613710;113.631432,23.613142;113.631287,23.612659;113.630905,23.611076;113.630844,23.610802;113.630844,23.610798;113.630768,23.610516;113.630661,23.610060;113.630569,23.609705;113.630554,23.609617;113.630501,23.609388;113.630119,23.607822;113.629776,23.606388;113.629395,23.604740;113.628891,23.602587;113.628479,23.600821;113.628136,23.599293;113.627968,23.598680;113.627953,23.598633;113.627884,23.598433;113.627785,23.598202;113.627632,23.597919;113.627487,23.597683;113.627281,23.597401;113.627037,23.597139;113.626106,23.596230;113.625641,23.595755;113.624992,23.595139;113.624092,23.594326;113.623161,23.593433;113.622879,23.593147;113.622734,23.592981;113.622383,23.592590;113.622055,23.592186;113.621872,23.591957;113.621574,23.591545;113.621292,23.591133;113.621117,23.590864;113.620880,23.590433;113.620735,23.590164;113.620674,23.590054;113.620673,23.590052;113.620603,23.589913;113.619475,23.587643;113.619401,23.587491;113.619401,23.587487;113.619175,23.587040;113.618984,23.586658;113.618893,23.586471;113.618598,23.585868;113.618108,23.584874;113.617930,23.584440;113.617769,23.583928;113.617708,23.583646;113.617630,23.583073;113.617582,23.582478;113.617578,23.582357;113.617578,23.582361;113.617584,23.582365;113.617584,23.582359;113.617554,23.581884;113.617485,23.580811;113.617477,23.580591;113.617485,23.580204;113.617493,23.579849;113.617554,23.579384;113.617668,23.578743;113.617760,23.578316;113.617790,23.578138;113.618042,23.576904;113.618080,23.576723;113.618095,23.576658;113.618118,23.576557;113.618187,23.576189;113.618347,23.575378;113.618416,23.574808;113.618423,23.574497;113.618408,23.574158;113.618286,23.573481;113.618263,23.573381;113.618210,23.573103;113.618210,23.573111;113.618210,23.573120;113.618210,23.573116;113.618172,23.572929;113.618080,23.572432;113.618034,23.572153;113.618011,23.571901;113.617989,23.571444;113.618034,23.570911;113.618187,23.569813;113.618332,23.568825;113.618462,23.567951;113.618652,23.566698;113.618759,23.565947;113.618790,23.565674;113.618828,23.565474;113.618843,23.565365;113.618874,23.565182;113.618896,23.565014;113.618896,23.564964;113.619118,23.563465;113.619171,23.563156;113.619263,23.562523;113.619286,23.562109;113.619263,23.561775;113.619232,23.561602;113.619171,23.561384;113.619011,23.561010;113.618790,23.560673;113.618652,23.560495;113.618149,23.559973;113.617950,23.559765;113.616966,23.558811;113.615730,23.557600;113.615547,23.557409;113.615356,23.557222;113.615105,23.556976;113.614723,23.556602;113.614052,23.555933;113.613762,23.555609;113.613365,23.555122;113.613190,23.554810;113.613129,23.554688;113.613052,23.554518;113.612823,23.554016;113.612648,23.553556;113.612625,23.553484;113.612602,23.553438;113.612549,23.553284;113.612526,23.553211;113.612526,23.553207;113.612282,23.552565;113.612068,23.551991;113.611961,23.551771;113.611816,23.551476;113.611557,23.551102;113.611328,23.550846;113.611069,23.550591;113.610443,23.550087', 'bustimetag': '0', 'start_time': '0900', 'end_time': '1800', 'via_num': '14', 'via_stops': [{'name': '卫东', 'id': '900000111141003', 'location': '113.671707,23.643766'}, {'name': '交警温泉中队', 'id': '900000111141029', 'location': '113.656944,23.630304'}, {'name': '冲口', 'id': '900000111141022', 'location': '113.649731,23.624987'}, {'name': '牛步迳', 'id': '900000111141006', 'location': '113.644640,23.621901'}, {'name': '华辉度假村', 'id': '900000111141023', 'location': '113.638325,23.620156'}, {'name': '温泉镇政府', 'id': '900000111141008', 'location': '113.632957,23.615774'}, {'name': '云星村', 'id': '900000111141024', 'location': '113.630844,23.610802'}, {'name': '宣星路口', 'id': '900000111141010', 'location': '113.628891,23.602587'}, {'name': '新华', 'id': '900000111141011', 'location': '113.620674,23.590054'}, {'name': '水底村', 'id': '900000111141012', 'location': '113.619401,23.587491'}, {'name': '南洋学院', 'id': '900000111141028', 'location': '113.617578,23.582357'}, {'name': '江埔社区', 'id': '900000111141014', 'location': '113.618210,23.573103'}, {'name': '沙塱村', 'id': '900000111141015', 'location': '113.615547,23.557409'}, {'name': '凤院北', 'id': '900000111141025', 'location': '113.612526,23.553211'}]}]}, 'entrance': [], 'exit': [], 'railway': {'via_stops': [], 'alters': [], 'spaces': []}}, {'taxi': [], 'walking': {'origin': '113.610435,23.550074', 'destination': '113.610451,23.550081', 'distance': '1', 'duration': '0', 'steps': [{'instruction': '沿环市东路步行1米往前走到达凤院路口', 'road': '环市东路', 'distance': '1', 'duration': [], 'polyline': '113.610435,23.550074;113.610443,23.550077;113.610451,23.550081', 'action': '往前走', 'assistant_action': '到达凤院路口'}]}, 'bus': {'buslines': [{'departure_stop': {'name': '凤院路口', 'id': '440100014900004', 'location': '113.610451,23.550087'}, 'arrival_stop': {'name': '新世纪广场', 'id': '440100014900010', 'location': '113.588799,23.548315'}, 'name': '从7路(水利学院总站--南医大五附院总站)', 'id': '440100014900', 'type': '普通公交线路', 'distance': '2647', 'duration': '1172', 'polyline': '113.610451,23.550087;113.610451,23.550091;113.610451,23.550095;113.610451,23.550091;113.610435,23.550077;113.609962,23.549686;113.609459,23.549290;113.609207,23.549063;113.609055,23.548923;113.608841,23.548676;113.608452,23.548498;113.607582,23.548014;113.606888,23.547691;113.606842,23.547668;113.606499,23.547514;113.606497,23.547513;113.606445,23.547491;113.604735,23.546732;113.604258,23.546549;113.603850,23.546424;113.603303,23.546315;113.603051,23.546289;113.602782,23.546267;113.602270,23.546280;113.601424,23.546302;113.601037,23.546324;113.600898,23.546328;113.600547,23.546350;113.600299,23.546354;113.599492,23.546393;113.599071,23.546372;113.598633,23.546350;113.598442,23.546337;113.597661,23.546306;113.597664,23.546307;113.597534,23.546303;113.597290,23.546284;113.596779,23.546215;113.596260,23.546143;113.595932,23.546085;113.595840,23.546061;113.595810,23.546055;113.595695,23.546007;113.595566,23.545874;113.595467,23.545715;113.595428,23.545610;113.595398,23.545324;113.595421,23.545177;113.595528,23.544868;113.595467,23.544701;113.595413,23.544626;113.595306,23.544531;113.595016,23.544575;113.594620,23.544676;113.592140,23.545368;113.592133,23.545534;113.592392,23.546143;113.592361,23.546253;113.591393,23.547153;113.591110,23.547373;113.590675,23.547609;113.590599,23.547651;113.590424,23.547747;113.590096,23.547930;113.589523,23.548264;113.589432,23.548285;113.589287,23.548307;113.588860,23.548325;113.588799,23.548315', 'bustimetag': '0', 'start_time': '0730', 'end_time': '2100', 'via_num': '5', 'via_stops': [{'name': '光导纤维厂', 'id': '440100014900005', 'location': '113.606499,23.547514'}, {'name': '大江路口', 'id': '440100014900006', 'location': '113.602270,23.546280'}, {'name': '塱仔新村', 'id': '440100014900007', 'location': '113.597661,23.546306'}, {'name': '河东广场', 'id': '440100014900008', 'location': '113.595840,23.546061'}, {'name': '河滨公园', 'id': '440100014900009', 'location': '113.590675,23.547609'}]}]}, 'entrance': [], 'exit': [], 'railway': {'via_stops': [], 'alters': [], 'spaces': []}}, {'taxi': [], 'walking': {'origin': '113.588799,23.548315', 'destination': '113.588623,23.547464', 'distance': '255', 'duration': '218', 'steps': [{'instruction': '沿东成路步行126米左转', 'road': '东成路', 'distance': '126', 'duration': [], 'polyline': '113.588799,23.548315;113.588615,23.548298;113.588364,23.548260;113.587570,23.548120', 'action': '左转', 'assistant_action': []}, {'instruction': '沿新城东路步行129米', 'road': '新城东路', 'distance': '129', 'duration': [], 'polyline': '113.587570,23.548117;113.587708,23.548025;113.588623,23.547464', 'action': [], 'assistant_action': []}]}, 'bus': {'buslines': []}, 'entrance': [], 'exit': [], 'railway': {'via_stops': [], 'alters': [], 'spaces': []}}]}, {'cost': '3.0', 'duration': '5576', 'nightflag': '0', 'walking_distance': '728', 'distance': '23111', 'missed': '0', 'segments': [{'taxi': [], 'walking': {'origin': '113.679016,23.632349', 'destination': '113.676613,23.631285', 'distance': '513', 'duration': '439', 'steps': [{'instruction': '步行57米右转', 'road': [], 'distance': '57', 'duration': [], 'polyline': '113.679016,23.632349;113.678528,23.632097', 'action': '右转', 'assistant_action': []}, {'instruction': '步行47米向左前方行走', 'road': [], 'distance': '47', 'duration': [], 'polyline': '113.678528,23.632092;113.678398,23.632166;113.678101,23.632261', 'action': '向左前方行走', 'assistant_action': []}, {'instruction': '步行218米左转', 'road': [], 'distance': '218', 'duration': [], 'polyline': '113.678101,23.632261;113.677834,23.632261;113.677551,23.632200;113.677399,23.632179;113.677284,23.632200;113.677177,23.632244;113.677017,23.632357;113.676811,23.632534;113.676582,23.632778;113.676430,23.632904;113.676292,23.632969', 'action': '左转', 'assistant_action': []}, {'instruction': '沿博学路步行191米到达中大南方学院', 'road': '博学路', 'distance': '191', 'duration': [], 'polyline': '113.676285,23.632969;113.676292,23.632227;113.676338,23.631948;113.676430,23.631676;113.676491,23.631540;113.676613,23.631285', 'action': [], 'assistant_action': '到达中大南方学院'}]}, 'bus': {'buslines': [{'departure_stop': {'name': '中大南方学院', 'id': '900000111141002', 'location': '113.676613,23.631281'}, 'arrival_stop': {'name': '城建学院', 'id': '900000111141020', 'location': '113.607122,23.530247'}, 'name': '从15路(中大南方学院--从化汽车站总站)', 'id': '900000111141', 'type': '普通公交线路', 'distance': '18445', 'duration': '3336', 'polyline': '113.676613,23.631281;113.676460,23.631588;113.676430,23.631672;113.676338,23.631945;113.676292,23.632223;113.676285,23.632969;113.676285,23.633560;113.676300,23.633738;113.676331,23.633875;113.676399,23.634016;113.676460,23.634111;113.676521,23.634193;113.676781,23.634409;113.676857,23.634357;113.676933,23.634340;113.677032,23.634354;113.677094,23.634396;113.677139,23.634459;113.677147,23.634535;113.677139,23.634600;113.677086,23.634663;113.677032,23.634701;113.676918,23.634718;113.676857,23.634701;113.676788,23.634657;113.675262,23.636129;113.675156,23.636263;113.675026,23.636467;113.674973,23.636566;113.674957,23.636702;113.674957,23.636845;113.674995,23.636995;113.675377,23.637886;113.675430,23.638042;113.675522,23.638659;113.675529,23.638998;113.675514,23.639132;113.675446,23.639311;113.675331,23.639582;113.675102,23.640036;113.675003,23.640186;113.674309,23.641024;113.673347,23.642139;113.672981,23.642536;113.672935,23.642578;113.672173,23.643307;113.671707,23.643766;113.671432,23.644045;113.673103,23.644968;113.674362,23.645651;113.675461,23.646276;113.675964,23.646635;113.676407,23.647018;113.676376,23.647089;113.675964,23.646744;113.675735,23.646566;113.675468,23.646385;113.675095,23.646172;113.673004,23.645004;113.669968,23.643330;113.669167,23.642881;113.668770,23.642673;113.668594,23.642578;113.667007,23.641693;113.666145,23.641171;113.665314,23.640564;113.665253,23.640511;113.665016,23.640301;113.664772,23.640064;113.664551,23.639812;113.664406,23.639662;113.664207,23.639400;113.663925,23.639021;113.663574,23.638451;113.663361,23.638020;113.662323,23.635933;113.661949,23.635181;113.661461,23.634266;113.661224,23.633898;113.660843,23.633383;113.660683,23.633192;113.660248,23.632704;113.659721,23.632172;113.659370,23.631880;113.659256,23.631794;113.658989,23.631588;113.658897,23.631519;113.658211,23.631102;113.657707,23.630760;113.657425,23.630590;113.656944,23.630304;113.656940,23.630304;113.654336,23.628741;113.653850,23.628416;113.653598,23.628225;113.652383,23.627179;113.650165,23.625326;113.650022,23.625221;113.649766,23.625013;113.649731,23.624987;113.649731,23.624983;113.648980,23.624384;113.648611,23.624063;113.647843,23.623442;113.647361,23.623090;113.646780,23.622721;113.646345,23.622465;113.645981,23.622287;113.645595,23.622131;113.645117,23.621992;113.644709,23.621914;113.644640,23.621901;113.644635,23.621901;113.644375,23.621862;113.643255,23.621749;113.642578,23.621667;113.642474,23.621645;113.642027,23.621541;113.641450,23.621354;113.640525,23.621033;113.639332,23.620603;113.639184,23.620543;113.638850,23.620412;113.638433,23.620213;113.638325,23.620156;113.638329,23.620155;113.636047,23.618944;113.635544,23.618668;113.635254,23.618481;113.634750,23.618097;113.634514,23.617891;113.634254,23.617622;113.633980,23.617271;113.633636,23.616779;113.633057,23.615911;113.632957,23.615774;113.632401,23.614927;113.631912,23.614172;113.631660,23.613710;113.631432,23.613142;113.631287,23.612659;113.630905,23.611076;113.630844,23.610802;113.630844,23.610798;113.630768,23.610516;113.630661,23.610060;113.630569,23.609705;113.630554,23.609617;113.630501,23.609388;113.630119,23.607822;113.629776,23.606388;113.629395,23.604740;113.628891,23.602587;113.628479,23.600821;113.628136,23.599293;113.627968,23.598680;113.627953,23.598633;113.627884,23.598433;113.627785,23.598202;113.627632,23.597919;113.627487,23.597683;113.627281,23.597401;113.627037,23.597139;113.626106,23.596230;113.625641,23.595755;113.624992,23.595139;113.624092,23.594326;113.623161,23.593433;113.622879,23.593147;113.622734,23.592981;113.622383,23.592590;113.622055,23.592186;113.621872,23.591957;113.621574,23.591545;113.621292,23.591133;113.621117,23.590864;113.620880,23.590433;113.620735,23.590164;113.620674,23.590054;113.620673,23.590052;113.620603,23.589913;113.619475,23.587643;113.619401,23.587491;113.619401,23.587487;113.619175,23.587040;113.618984,23.586658;113.618893,23.586471;113.618598,23.585868;113.618108,23.584874;113.617930,23.584440;113.617769,23.583928;113.617708,23.583646;113.617630,23.583073;113.617582,23.582478;113.617578,23.582357;113.617578,23.582361;113.617584,23.582365;113.617584,23.582359;113.617554,23.581884;113.617485,23.580811;113.617477,23.580591;113.617485,23.580204;113.617493,23.579849;113.617554,23.579384;113.617668,23.578743;113.617760,23.578316;113.617790,23.578138;113.618042,23.576904;113.618080,23.576723;113.618095,23.576658;113.618118,23.576557;113.618187,23.576189;113.618347,23.575378;113.618416,23.574808;113.618423,23.574497;113.618408,23.574158;113.618286,23.573481;113.618263,23.573381;113.618210,23.573103;113.618210,23.573111;113.618210,23.573120;113.618210,23.573116;113.618172,23.572929;113.618080,23.572432;113.618034,23.572153;113.618011,23.571901;113.617989,23.571444;113.618034,23.570911;113.618187,23.569813;113.618332,23.568825;113.618462,23.567951;113.618652,23.566698;113.618759,23.565947;113.618790,23.565674;113.618828,23.565474;113.618843,23.565365;113.618874,23.565182;113.618896,23.565014;113.618896,23.564964;113.619118,23.563465;113.619171,23.563156;113.619263,23.562523;113.619286,23.562109;113.619263,23.561775;113.619232,23.561602;113.619171,23.561384;113.619011,23.561010;113.618790,23.560673;113.618652,23.560495;113.618149,23.559973;113.617950,23.559765;113.616966,23.558811;113.615730,23.557600;113.615547,23.557409;113.615356,23.557222;113.615105,23.556976;113.614723,23.556602;113.614052,23.555933;113.613762,23.555609;113.613365,23.555122;113.613190,23.554810;113.613129,23.554688;113.613052,23.554518;113.612823,23.554016;113.612648,23.553556;113.612625,23.553484;113.612602,23.553438;113.612549,23.553284;113.612526,23.553211;113.612526,23.553207;113.612282,23.552565;113.612068,23.551991;113.611961,23.551771;113.611816,23.551476;113.611557,23.551102;113.611328,23.550846;113.611069,23.550591;113.610443,23.550087;113.610435,23.550077;113.609962,23.549686;113.609459,23.549290;113.609207,23.549063;113.609055,23.548923;113.608841,23.548676;113.608757,23.548571;113.608536,23.548216;113.608398,23.547951;113.608315,23.547665;113.608276,23.547514;113.608231,23.547321;113.608185,23.547031;113.608154,23.546612;113.608155,23.546610;113.608121,23.546150;113.608082,23.545586;113.608077,23.545451;113.608090,23.545013;113.608142,23.544488;113.608160,23.544405;113.608290,23.543698;113.608312,23.543607;113.608398,23.543199;113.608637,23.542118;113.608750,23.541584;113.608954,23.540612;113.608971,23.540530;113.609123,23.539800;113.609323,23.538889;113.609366,23.538637;113.609414,23.538329;113.609449,23.537956;113.609466,23.537617;113.609466,23.537287;113.609444,23.536819;113.609414,23.536536;113.609332,23.536102;113.609214,23.535690;113.609214,23.535686;113.609106,23.535321;113.608980,23.534909;113.608733,23.534227;113.608234,23.532986;113.608121,23.532713;113.608008,23.532444;113.607795,23.531910;113.607682,23.531623;113.607244,23.530547;113.607122,23.530247', 'bustimetag': '0', 'start_time': '0900', 'end_time': '1800', 'via_num': '18', 'via_stops': [{'name': '卫东', 'id': '900000111141003', 'location': '113.671707,23.643766'}, {'name': '交警温泉中队', 'id': '900000111141029', 'location': '113.656944,23.630304'}, {'name': '冲口', 'id': '900000111141022', 'location': '113.649731,23.624987'}, {'name': '牛步迳', 'id': '900000111141006', 'location': '113.644640,23.621901'}, {'name': '华辉度假村', 'id': '900000111141023', 'location': '113.638325,23.620156'}, {'name': '温泉镇政府', 'id': '900000111141008', 'location': '113.632957,23.615774'}, {'name': '云星村', 'id': '900000111141024', 'location': '113.630844,23.610802'}, {'name': '宣星路口', 'id': '900000111141010', 'location': '113.628891,23.602587'}, {'name': '新华', 'id': '900000111141011', 'location': '113.620674,23.590054'}, {'name': '水底村', 'id': '900000111141012', 'location': '113.619401,23.587491'}, {'name': '南洋学院', 'id': '900000111141028', 'location': '113.617578,23.582357'}, {'name': '江埔社区', 'id': '900000111141014', 'location': '113.618210,23.573103'}, {'name': '沙塱村', 'id': '900000111141015', 'location': '113.615547,23.557409'}, {'name': '凤院北', 'id': '900000111141025', 'location': '113.612526,23.553211'}, {'name': '凤院路口', 'id': '900000111141016', 'location': '113.610443,23.550087'}, {'name': '江埔村二社', 'id': '900000111141026', 'location': '113.608154,23.546612'}, {'name': '江埔村', 'id': '900000111141018', 'location': '113.608954,23.540612'}, {'name': '迎福里', 'id': '900000111141019', 'location': '113.609214,23.535690'}]}]}, 'entrance': [], 'exit': [], 'railway': {'via_stops': [], 'alters': [], 'spaces': []}}, {'taxi': [], 'walking': {'origin': '113.607117,23.530243', 'destination': '113.607155,23.529320', 'distance': '165', 'duration': '141', 'steps': [{'instruction': '沿环市东路步行38米向右前方行走', 'road': '环市东路', 'distance': '38', 'duration': [], 'polyline': '113.607117,23.530243;113.606987,23.529930', 'action': '向右前方行走', 'assistant_action': []}, {'instruction': '步行52米左转', 'road': [], 'distance': '52', 'duration': [], 'polyline': '113.606987,23.529926;113.606705,23.529722;113.606606,23.529621', 'action': '左转', 'assistant_action': []}, {'instruction': '步行49米左转', 'road': [], 'distance': '49', 'duration': [], 'polyline': '113.606598,23.529617;113.607010,23.529379', 'action': '左转', 'assistant_action': []}, {'instruction': '步行15米向右前方行走', 'road': [], 'distance': '15', 'duration': [], 'polyline': '113.607002,23.529379;113.607132,23.529423', 'action': '向右前方行走', 'assistant_action': []}, {'instruction': '沿环市东路步行1米右转', 'road': '环市东路', 'distance': '1', 'duration': [], 'polyline': '113.607132,23.529423;113.607147,23.529423', 'action': '右转', 'assistant_action': []}, {'instruction': '沿环市东路步行11米到达城建学院总站', 'road': '环市东路', 'distance': '11', 'duration': [], 'polyline': '113.607147,23.529419;113.607162,23.529375;113.607155,23.529324;113.607155,23.529320', 'action': [], 'assistant_action': '到达城建学院总站'}]}, 'bus': {'buslines': [{'departure_stop': {'name': '城建学院总站', 'id': '440100015062002', 'location': '113.607155,23.529314'}, 'arrival_stop': {'name': '新世纪广场', 'id': '440100015062015', 'location': '113.588470,23.548191'}, 'name': '从8路(城建学院总站--地铁东风站总站)', 'id': '440100015062', 'type': '普通公交线路', 'distance': '3938', 'duration': '1616', 'polyline': '113.607155,23.529314;113.607155,23.529331;113.607163,23.529383;113.607145,23.529430;113.607085,23.529535;113.607021,23.529725;113.607063,23.529810;113.607117,23.529909;113.607254,23.530235;113.607307,23.530386;113.607468,23.530737;113.608154,23.532440;113.608360,23.532948;113.608574,23.533489;113.608833,23.534153;113.608734,23.534227;113.608452,23.534374;113.607796,23.534697;113.607567,23.534826;113.607376,23.534962;113.607376,23.534960;113.607315,23.535004;113.607162,23.535122;113.606712,23.535421;113.606392,23.535637;113.605423,23.536079;113.605103,23.536228;113.604790,23.536381;113.603958,23.536711;113.603645,23.536844;113.603646,23.536845;113.603550,23.536888;113.603090,23.537144;113.602765,23.537322;113.602370,23.537539;113.601979,23.537760;113.601714,23.537904;113.601597,23.537969;113.601220,23.538177;113.601003,23.538303;113.600547,23.538542;113.600516,23.538559;113.600187,23.538715;113.599601,23.538967;113.599149,23.539162;113.598633,23.539371;113.598620,23.539375;113.598533,23.539418;113.598442,23.539488;113.598260,23.539674;113.597908,23.540100;113.597878,23.540138;113.597794,23.540213;113.597672,23.540291;113.596863,23.540783;113.596817,23.541914;113.596725,23.542353;113.596642,23.542601;113.596443,23.543009;113.596336,23.543261;113.596237,23.543489;113.596146,23.543697;113.595947,23.544102;113.595673,23.544535;113.595543,23.544531;113.595306,23.544531;113.595016,23.544575;113.594620,23.544676;113.592140,23.545368;113.591881,23.545446;113.590782,23.546124;113.590736,23.546156;113.590034,23.546585;113.589508,23.546913;113.589523,23.546822;113.589508,23.546129;113.589500,23.545803;113.589256,23.545782;113.589119,23.545778;113.588783,23.545746;113.588623,23.545742;113.588295,23.545738;113.588013,23.545732;113.587715,23.545725;113.587662,23.546785;113.587708,23.548019;113.588341,23.548164;113.588470,23.548191', 'bustimetag': '0', 'start_time': '0650', 'end_time': '2030', 'via_num': '7', 'via_stops': [{'name': '禾仓村', 'id': '440100015062003', 'location': '113.607376,23.534962'}, {'name': '七星体育公园', 'id': '440100015062021', 'location': '113.603645,23.536844'}, {'name': '七星市场', 'id': '440100015062005', 'location': '113.600516,23.538559'}, {'name': '七星路口', 'id': '440100015062013', 'location': '113.597908,23.540100'}, {'name': '河东市场', 'id': '440100015062007', 'location': '113.596336,23.543261'}, {'name': '从化邮政局', 'id': '440100015062017', 'location': '113.590782,23.546124'}, {'name': '从化供电局', 'id': '440100015062014', 'location': '113.588013,23.545732'}]}]}, 'entrance': [], 'exit': [], 'railway': {'via_stops': [], 'alters': [], 'spaces': []}}, {'taxi': [], 'walking': {'origin': '113.588470,23.548189', 'destination': '113.588402,23.547838', 'distance': '50', 'duration': '42', 'steps': [{'instruction': '沿东成路步行13米左转', 'road': '东成路', 'distance': '13', 'duration': [], 'polyline': '113.588470,23.548189;113.588341,23.548168', 'action': '左转', 'assistant_action': []}, {'instruction': '步行37米', 'road': [], 'distance': '37', 'duration': [], 'polyline': '113.588341,23.548164;113.588379,23.547886;113.588402,23.547838', 'action': [], 'assistant_action': []}]}, 'bus': {'buslines': []}, 'entrance': [], 'exit': [], 'railway': {'via_stops': [], 'alters': [], 'spaces': []}}]}, {'cost': '2.0', 'duration': '6361', 'nightflag': '0', 'walking_distance': '2212', 'distance': '21652', 'missed': '0', 'segments': [{'taxi': [], 'walking': {'origin': '113.679588,23.632492', 'destination': '113.675644,23.619991', 'distance': '1957', 'duration': '1677', 'steps': [{'instruction': '步行101米右转', 'road': [], 'distance': '101', 'duration': [], 'polyline': '113.679588,23.632492;113.680588,23.632523', 'action': '右转', 'assistant_action': []}, {'instruction': '步行199米向右前方行走', 'road': [], 'distance': '199', 'duration': [], 'polyline': '113.680588,23.632523;113.680641,23.632139;113.680672,23.631741;113.680634,23.631540;113.680588,23.631437;113.680496,23.631241;113.680405,23.631094;113.680206,23.630842', 'action': '向右前方行走', 'assistant_action': []}, {'instruction': '步行159米左转', 'road': [], 'distance': '159', 'duration': [], 'polyline': '113.680206,23.630838;113.680038,23.630772;113.679642,23.630638;113.679359,23.630522;113.679199,23.630472;113.679031,23.630430;113.678879,23.630404;113.678711,23.630365', 'action': '左转', 'assistant_action': []}, {'instruction': '步行237米左转', 'road': [], 'distance': '237', 'duration': [], 'polyline': '113.678711,23.630360;113.678711,23.629341;113.678711,23.629192;113.678688,23.629084;113.678635,23.629023;113.678421,23.628902;113.678368,23.628841;113.678314,23.628723;113.678291,23.628611;113.678276,23.628372', 'action': '左转', 'assistant_action': []}, {'instruction': '步行498米向右前方行走', 'road': [], 'distance': '498', 'duration': [], 'polyline': '113.678276,23.628368;113.678574,23.628338;113.678688,23.628307;113.678848,23.628233;113.679047,23.628073;113.679161,23.627964;113.679214,23.627869;113.679237,23.627777;113.679283,23.627525;113.679291,23.627321;113.679253,23.626854;113.679184,23.626623;113.679138,23.626497;113.679001,23.626259;113.678940,23.626177;113.678711,23.625977;113.678619,23.625864;113.678528,23.625721;113.678436,23.625191;113.678429,23.625057;113.678452,23.624939;113.678574,23.624657', 'action': '向右前方行走', 'assistant_action': []}, {'instruction': '步行722米左转', 'road': [], 'distance': '722', 'duration': [], 'polyline': '113.678574,23.624653;113.678558,23.624510;113.678413,23.624323;113.677582,23.623793;113.676529,23.623346;113.676361,23.623255;113.676270,23.623152;113.676109,23.622833;113.676041,23.622738;113.675789,23.622482;113.675499,23.622278;113.675415,23.622175;113.675385,23.622087;113.675377,23.621836;113.675392,23.621611;113.675430,23.621475;113.675545,23.621359;113.675766,23.621181;113.675850,23.621090;113.675903,23.620995;113.675903,23.620855;113.675880,23.620726;113.675743,23.620546;113.675598,23.620373;113.675240,23.620012', 'action': '左转', 'assistant_action': []}, {'instruction': '步行41米到达松浪社', 'road': [], 'distance': '41', 'duration': [], 'polyline': '113.675240,23.620008;113.675491,23.620012;113.675644,23.619991;113.675644,23.619991', 'action': [], 'assistant_action': '到达松浪社'}]}, 'bus': {'buslines': [{'departure_stop': {'name': '松浪社', 'id': '900000111143034', 'location': '113.675629,23.619987'}, 'arrival_stop': {'name': '新世纪广场', 'id': '900000111143016', 'location': '113.588885,23.548320'}, 'name': '从20路(乌土村委总站--从化汽车站总站)', 'id': '900000111143', 'type': '普通公交线路', 'distance': '19440', 'duration': '4465', 'polyline': '113.675629,23.619987;113.675301,23.620045;113.675201,23.619968;113.674934,23.619713;113.673920,23.618620;113.673691,23.618429;113.673454,23.618334;113.673218,23.618269;113.671082,23.617786;113.667892,23.617096;113.666336,23.616735;113.665916,23.616650;113.664551,23.616346;113.663689,23.616152;113.663544,23.616119;113.663223,23.616043;113.662567,23.615911;113.662025,23.615803;113.661682,23.615711;113.660400,23.615417;113.660004,23.615669;113.659927,23.615711;113.659088,23.616234;113.657166,23.617487;113.656975,23.617626;113.656815,23.617783;113.655830,23.618845;113.655678,23.618971;113.655548,23.619076;113.655411,23.619141;113.655281,23.619188;113.655083,23.619236;113.654747,23.619293;113.654518,23.619307;113.654320,23.619303;113.653976,23.619244;113.652885,23.619011;113.652718,23.618984;113.652573,23.618984;113.652428,23.619015;113.651825,23.619240;113.650818,23.619617;113.649361,23.619949;113.648819,23.620077;113.648354,23.620222;113.648087,23.620314;113.647858,23.620438;113.647621,23.620604;113.647377,23.620783;113.647179,23.620893;113.646973,23.620993;113.646477,23.621176;113.646317,23.621258;113.645866,23.621567;113.645721,23.621698;113.645721,23.621876;113.645821,23.622089;113.646248,23.622282;113.646629,23.622496;113.647217,23.622856;113.647697,23.623178;113.648071,23.623466;113.649094,23.624311;113.649666,23.624836;113.649811,23.624950;113.650055,23.625156;113.650192,23.625296;113.652588,23.627287;113.652748,23.627409;113.653603,23.628078;113.654411,23.628637;113.655273,23.629168;113.657509,23.630495;113.657425,23.630590;113.657120,23.630409;113.654335,23.628742;113.653847,23.628416;113.653603,23.628225;113.652382,23.627178;113.650169,23.625324;113.650017,23.625223;113.649773,23.625013;113.649742,23.624990;113.649734,23.624990;113.648926,23.624327;113.647842,23.623442;113.647362,23.623091;113.646782,23.622723;113.646347,23.622465;113.645981,23.622286;113.645592,23.622131;113.645119,23.621990;113.644714,23.621914;113.644516,23.621885;113.644521,23.621890;113.644371,23.621862;113.643257,23.621748;113.642578,23.621666;113.642471,23.621645;113.642029,23.621540;113.641449,23.621353;113.640526,23.621033;113.639336,23.620604;113.639183,23.620543;113.638855,23.620413;113.638474,23.620235;113.636047,23.618944;113.635544,23.618668;113.635254,23.618481;113.634750,23.618097;113.634514,23.617891;113.634254,23.617622;113.633980,23.617271;113.633636,23.616779;113.633057,23.615911;113.632881,23.615646;113.632401,23.614927;113.631912,23.614172;113.631660,23.613710;113.631432,23.613142;113.631287,23.612659;113.630905,23.611076;113.630844,23.610802;113.630844,23.610798;113.630768,23.610516;113.630577,23.610237;113.630516,23.610188;113.630455,23.610161;113.630257,23.610147;113.630119,23.610188;113.629410,23.610382;113.626266,23.611412;113.624924,23.611845;113.624825,23.611914;113.623993,23.612200;113.622940,23.612551;113.620605,23.613319;113.620193,23.613451;113.618462,23.614006;113.617325,23.614307;113.616829,23.614441;113.616310,23.614557;113.615623,23.614731;113.615547,23.614721;113.615829,23.613806;113.615883,23.613615;113.615837,23.613312;113.615700,23.612883;113.615692,23.612778;113.615692,23.612595;113.615700,23.612335;113.615623,23.611740;113.615601,23.611603;113.615532,23.611467;113.615410,23.611258;113.615379,23.611164;113.615349,23.610947;113.615349,23.610842;113.615372,23.610706;113.615479,23.610287;113.615486,23.610147;113.615486,23.610014;113.615395,23.609644;113.615395,23.609617;113.615395,23.609457;113.615402,23.609367;113.615456,23.609184;113.615509,23.609085;113.616081,23.608265;113.616371,23.607573;113.616409,23.607368;113.616402,23.607235;113.616371,23.607100;113.616272,23.606810;113.616158,23.606575;113.615829,23.605993;113.615562,23.605604;113.614883,23.604675;113.614601,23.604301;113.614601,23.604298;113.614388,23.604015;113.614090,23.603594;113.613861,23.603292;113.613716,23.603111;113.612968,23.602079;113.612846,23.601910;113.612610,23.601501;113.612335,23.600824;113.612335,23.600820;113.611424,23.598633;113.611029,23.597665;113.610942,23.597483;113.610833,23.597318;113.610738,23.597183;113.610239,23.596602;113.610109,23.596432;113.609592,23.595547;113.608924,23.594384;113.608841,23.594180;113.608741,23.593841;113.608663,23.593490;113.608665,23.593493;113.608665,23.593498;113.608665,23.593493;113.608139,23.591215;113.608124,23.591070;113.608032,23.590477;113.608025,23.590450;113.608025,23.590446;113.607971,23.590200;113.607903,23.589956;113.607841,23.589813;113.607712,23.589596;113.607452,23.589245;113.607239,23.588840;113.606712,23.587645;113.606400,23.586927;113.606293,23.586622;113.605988,23.585661;113.605904,23.585447;113.605820,23.585260;113.605629,23.584936;113.605354,23.584476;113.605232,23.584290;113.604759,23.583406;113.604652,23.583202;113.604584,23.582983;113.604477,23.582586;113.604095,23.580610;113.603882,23.579472;113.603661,23.578447;113.603638,23.578199;113.603630,23.577904;113.603706,23.576944;113.603737,23.576658;113.603760,23.576448;113.603867,23.576088;113.604012,23.575682;113.604042,23.575418;113.604034,23.575291;113.604012,23.575186;113.603966,23.575087;113.603897,23.574961;113.603821,23.574879;113.603645,23.574709;113.603127,23.574280;113.603125,23.574275;113.602196,23.573498;113.601892,23.573229;113.600990,23.572261;113.600872,23.572127;113.600694,23.571936;113.600625,23.571853;113.600503,23.571680;113.600434,23.571528;113.600395,23.571402;113.600378,23.571254;113.600378,23.571094;113.600443,23.570551;113.600477,23.570321;113.600521,23.570217;113.600569,23.570148;113.600816,23.569948;113.600942,23.569770;113.600894,23.568885;113.600799,23.567886;113.600799,23.567882;113.600738,23.567266;113.600694,23.566693;113.600681,23.566081;113.600703,23.565673;113.600707,23.565582;113.600773,23.564679;113.600703,23.564306;113.600651,23.564106;113.600660,23.563581;113.600751,23.562474;113.600773,23.561827;113.600799,23.561567;113.600851,23.561354;113.600916,23.561089;113.600981,23.559727;113.600981,23.558984;113.600977,23.557986;113.600977,23.556823;113.600977,23.556693;113.600959,23.555773;113.600938,23.554688;113.600924,23.554180;113.600781,23.553906;113.600760,23.552578;113.600742,23.552209;113.600734,23.551992;113.600694,23.551393;113.600621,23.551393;113.599210,23.551398;113.599149,23.551398;113.598633,23.551393;113.598372,23.551385;113.597773,23.551398;113.596658,23.551393;113.596597,23.551385;113.596202,23.551376;113.596011,23.551354;113.595807,23.551302;113.595564,23.551189;113.595321,23.551055;113.595269,23.551020;113.595004,23.550864;113.594705,23.550690;113.594440,23.550525;113.593989,23.550256;113.593733,23.550113;113.593503,23.549965;113.593437,23.549922;113.593216,23.549757;113.592995,23.549466;113.592908,23.549110;113.592847,23.548624;113.592826,23.548268;113.592817,23.548160;113.592819,23.548161;113.592781,23.547560;113.592644,23.547079;113.592552,23.546762;113.592552,23.546766;113.592552,23.546762;113.592522,23.546671;113.592415,23.546415;113.592346,23.546280;113.591393,23.547153;113.591110,23.547373;113.590714,23.547590;113.590712,23.547591;113.590595,23.547652;113.590430,23.547747;113.590095,23.547930;113.589549,23.548238;113.589193,23.548307;113.588885,23.548320', 'bustimetag': '0', 'start_time': '0830', 'end_time': '1900', 'via_num': '19', 'via_stops': [{'name': '源湖村五社', 'id': '900000111143035', 'location': '113.663689,23.616152'}, {'name': '源湖村', 'id': '900000111143036', 'location': '113.659927,23.615711'}, {'name': '温泉交警中队', 'id': '900000111143003', 'location': '113.657120,23.630409'}, {'name': '冲口', 'id': '900000111143031', 'location': '113.649742,23.624990'}, {'name': '牛步迳', 'id': '900000111143004', 'location': '113.644516,23.621885'}, {'name': '温泉镇政府', 'id': '900000111143005', 'location': '113.632881,23.615646'}, {'name': '云星村站', 'id': '900000111143032', 'location': '113.630844,23.610802'}, {'name': '麻三村委', 'id': '900000111143006', 'location': '113.615532,23.611467'}, {'name': '麻二村委', 'id': '900000111143007', 'location': '113.614601,23.604301'}, {'name': '麻一木棉站', 'id': '900000111143037', 'location': '113.612335,23.600824'}, {'name': '沙洲', 'id': '900000111143027', 'location': '113.608663,23.593490'}, {'name': '塘下村十社', 'id': '900000111143028', 'location': '113.608025,23.590450'}, {'name': '塘下村委', 'id': '900000111143008', 'location': '113.605354,23.584476'}, {'name': '东风村委', 'id': '900000111143029', 'location': '113.603127,23.574280'}, {'name': '地铁东风站', 'id': '900000111143009', 'location': '113.600799,23.567886'}, {'name': '从化政务服务中心', 'id': '900000111143012', 'location': '113.594440,23.550525'}, {'name': '从化博物馆', 'id': '900000111143013', 'location': '113.592817,23.548160'}, {'name': '河堤广场', 'id': '900000111143014', 'location': '113.592552,23.546762'}, {'name': '河滨公园', 'id': '900000111143015', 'location': '113.590714,23.547590'}]}]}, 'entrance': [], 'exit': [], 'railway': {'via_stops': [], 'alters': [], 'spaces': []}}, {'taxi': [], 'walking': {'origin': '113.588799,23.548315', 'destination': '113.588623,23.547464', 'distance': '255', 'duration': '218', 'steps': [{'instruction': '沿东成路步行126米左转', 'road': '东成路', 'distance': '126', 'duration': [], 'polyline': '113.588799,23.548315;113.588615,23.548298;113.588364,23.548260;113.587570,23.548120', 'action': '左转', 'assistant_action': []}, {'instruction': '沿新城东路步行129米', 'road': '新城东路', 'distance': '129', 'duration': [], 'polyline': '113.587570,23.548117;113.587708,23.548025;113.588623,23.547464', 'action': [], 'assistant_action': []}]}, 'bus': {'buslines': []}, 'entrance': [], 'exit': [], 'railway': {'via_stops': [], 'alters': [], 'spaces': []}}]}]}}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>status</th>\n",
       "      <th>info</th>\n",
       "      <th>infocode</th>\n",
       "      <th>count</th>\n",
       "      <th>route.origin</th>\n",
       "      <th>route.destination</th>\n",
       "      <th>route.distance</th>\n",
       "      <th>route.taxi_cost</th>\n",
       "      <th>route.transits</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>OK</td>\n",
       "      <td>10000</td>\n",
       "      <td>4</td>\n",
       "      <td>113.679287,23.632575</td>\n",
       "      <td>113.588823,23.547738</td>\n",
       "      <td>17060</td>\n",
       "      <td>47</td>\n",
       "      <td>[{'cost': [], 'duration': '4987', 'nightflag':...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  status info infocode count          route.origin     route.destination  \\\n",
       "0      1   OK    10000     4  113.679287,23.632575  113.588823,23.547738   \n",
       "\n",
       "  route.distance route.taxi_cost  \\\n",
       "0          17060              47   \n",
       "\n",
       "                                      route.transits  \n",
       "0  [{'cost': [], 'duration': '4987', 'nightflag':...  "
      ]
     },
     "execution_count": 60,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "中大南方_从化客运站 = bus(中大南方,从化客运站,city='广州',extensions='all')\n",
    "print(中大南方_从化客运站)\n",
    "df_bus = pd.json_normalize(中大南方_从化客运站)\n",
    "df_bus"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 行政区域查询 \n",
    "\n",
    "> * 1、url:https://restapi.amap.com/v3/config/district?parameters    \n",
    "> * 2、requests.get()\n",
    "> * 3、参数：\n",
    "\n",
    ">> * A.必选：key\n",
    ">> * B.可选：keywords，subdistrict，page，offset，extensions，filter，callback，output"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 61,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>citycode</th>\n",
       "      <th>adcode</th>\n",
       "      <th>name</th>\n",
       "      <th>center</th>\n",
       "      <th>level</th>\n",
       "      <th>districts</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0751</td>\n",
       "      <td>440282</td>\n",
       "      <td>南雄市</td>\n",
       "      <td>114.311231,25.115328</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '0751', 'adcode': '440282', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>0751</td>\n",
       "      <td>440232</td>\n",
       "      <td>乳源瑶族自治县</td>\n",
       "      <td>113.278417,24.776109</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '0751', 'adcode': '440232', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0751</td>\n",
       "      <td>440224</td>\n",
       "      <td>仁化县</td>\n",
       "      <td>113.748627,25.088226</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '0751', 'adcode': '440224', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>0751</td>\n",
       "      <td>440233</td>\n",
       "      <td>新丰县</td>\n",
       "      <td>114.207034,24.055412</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '0751', 'adcode': '440233', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>0751</td>\n",
       "      <td>440222</td>\n",
       "      <td>始兴县</td>\n",
       "      <td>114.067205,24.948364</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '0751', 'adcode': '440222', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>0751</td>\n",
       "      <td>440229</td>\n",
       "      <td>翁源县</td>\n",
       "      <td>114.131289,24.353887</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '0751', 'adcode': '440229', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>0751</td>\n",
       "      <td>440204</td>\n",
       "      <td>浈江区</td>\n",
       "      <td>113.599224,24.803977</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '0751', 'adcode': '440204', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>0751</td>\n",
       "      <td>440203</td>\n",
       "      <td>武江区</td>\n",
       "      <td>113.588289,24.80016</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '0751', 'adcode': '440203', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>0751</td>\n",
       "      <td>440205</td>\n",
       "      <td>曲江区</td>\n",
       "      <td>113.605582,24.680195</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '0751', 'adcode': '440205', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>0751</td>\n",
       "      <td>440281</td>\n",
       "      <td>乐昌市</td>\n",
       "      <td>113.352413,25.128445</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '0751', 'adcode': '440281', 'nam...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  citycode  adcode     name                center     level  \\\n",
       "0     0751  440282      南雄市  114.311231,25.115328  district   \n",
       "1     0751  440232  乳源瑶族自治县  113.278417,24.776109  district   \n",
       "2     0751  440224      仁化县  113.748627,25.088226  district   \n",
       "3     0751  440233      新丰县  114.207034,24.055412  district   \n",
       "4     0751  440222      始兴县  114.067205,24.948364  district   \n",
       "5     0751  440229      翁源县  114.131289,24.353887  district   \n",
       "6     0751  440204      浈江区  113.599224,24.803977  district   \n",
       "7     0751  440203      武江区   113.588289,24.80016  district   \n",
       "8     0751  440205      曲江区  113.605582,24.680195  district   \n",
       "9     0751  440281      乐昌市  113.352413,25.128445  district   \n",
       "\n",
       "                                           districts  \n",
       "0  [{'citycode': '0751', 'adcode': '440282', 'nam...  \n",
       "1  [{'citycode': '0751', 'adcode': '440232', 'nam...  \n",
       "2  [{'citycode': '0751', 'adcode': '440224', 'nam...  \n",
       "3  [{'citycode': '0751', 'adcode': '440233', 'nam...  \n",
       "4  [{'citycode': '0751', 'adcode': '440222', 'nam...  \n",
       "5  [{'citycode': '0751', 'adcode': '440229', 'nam...  \n",
       "6  [{'citycode': '0751', 'adcode': '440204', 'nam...  \n",
       "7  [{'citycode': '0751', 'adcode': '440203', 'nam...  \n",
       "8  [{'citycode': '0751', 'adcode': '440205', 'nam...  \n",
       "9  [{'citycode': '0751', 'adcode': '440281', 'nam...  "
      ]
     },
     "execution_count": 61,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def district(keywords,subdistrict=None,page=None,offset=None,extensions='base',filter=None,)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/config/district?parameters'\n",
    "    params={\n",
    "        'key':key,\n",
    "        'keywords':keywords,\n",
    "        'subdistrict':subdistrict,\n",
    "        'page':page,\n",
    "        'offset':offset,\n",
    "        'extensions':extensions,\n",
    "        'filter':filter,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "行政区域 = district(keywords='韶关市',extensions='base',subdistrict=3)\n",
    "行政区域\n",
    "df_行政区域_1级 = pd.json_normalize(行政区域[\"districts\"][0]['districts'])\n",
    "df_行政区域_1级"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 62,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>citycode</th>\n",
       "      <th>adcode</th>\n",
       "      <th>name</th>\n",
       "      <th>center</th>\n",
       "      <th>level</th>\n",
       "      <th>districts</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0751</td>\n",
       "      <td>440205</td>\n",
       "      <td>白土镇</td>\n",
       "      <td>113.54,24.6814</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>0751</td>\n",
       "      <td>440205</td>\n",
       "      <td>小坑镇</td>\n",
       "      <td>113.814,24.7363</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0751</td>\n",
       "      <td>440205</td>\n",
       "      <td>枫湾镇</td>\n",
       "      <td>113.813,24.7329</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>0751</td>\n",
       "      <td>440205</td>\n",
       "      <td>罗坑镇</td>\n",
       "      <td>113.399,24.5774</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>0751</td>\n",
       "      <td>440205</td>\n",
       "      <td>韶关十六冶金建设公司</td>\n",
       "      <td>113.623,24.6908</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>0751</td>\n",
       "      <td>440205</td>\n",
       "      <td>大塘镇</td>\n",
       "      <td>113.772,24.8067</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>0751</td>\n",
       "      <td>440205</td>\n",
       "      <td>樟市镇</td>\n",
       "      <td>113.381,24.5888</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>0751</td>\n",
       "      <td>440205</td>\n",
       "      <td>韶关发电厂</td>\n",
       "      <td>113.589,24.5854</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>0751</td>\n",
       "      <td>440205</td>\n",
       "      <td>马坝镇</td>\n",
       "      <td>113.535,24.635</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>0751</td>\n",
       "      <td>440205</td>\n",
       "      <td>乌石镇</td>\n",
       "      <td>113.557,24.6043</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>0751</td>\n",
       "      <td>440205</td>\n",
       "      <td>松山街道</td>\n",
       "      <td>113.655,24.7138</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>0751</td>\n",
       "      <td>440205</td>\n",
       "      <td>曲江区大宝山矿</td>\n",
       "      <td>113.671,24.6101</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>0751</td>\n",
       "      <td>440205</td>\n",
       "      <td>沙溪镇</td>\n",
       "      <td>113.794,24.6896</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   citycode  adcode        name           center   level districts\n",
       "0      0751  440205         白土镇   113.54,24.6814  street        []\n",
       "1      0751  440205         小坑镇  113.814,24.7363  street        []\n",
       "2      0751  440205         枫湾镇  113.813,24.7329  street        []\n",
       "3      0751  440205         罗坑镇  113.399,24.5774  street        []\n",
       "4      0751  440205  韶关十六冶金建设公司  113.623,24.6908  street        []\n",
       "5      0751  440205         大塘镇  113.772,24.8067  street        []\n",
       "6      0751  440205         樟市镇  113.381,24.5888  street        []\n",
       "7      0751  440205       韶关发电厂  113.589,24.5854  street        []\n",
       "8      0751  440205         马坝镇   113.535,24.635  street        []\n",
       "9      0751  440205         乌石镇  113.557,24.6043  street        []\n",
       "10     0751  440205        松山街道  113.655,24.7138  street        []\n",
       "11     0751  440205     曲江区大宝山矿  113.671,24.6101  street        []\n",
       "12     0751  440205         沙溪镇  113.794,24.6896  street        []"
      ]
     },
     "execution_count": 62,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_行政区域_2级_韶关市 = pd.json_normalize(行政区域[\"districts\"][0]['districts'][8]['districts'])\n",
    "df_行政区域_2级_韶关市"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 搜索POI\n",
    "#### 关键字搜索\n",
    "\n",
    "> * 1、https://restapi.amap.com/v3/place/text?parameters    \n",
    "> * 2、requests.get()\n",
    "> * 3、参数：\n",
    "\n",
    ">> * A.必选：key，keywords，types(keywords和types两者至少必选其一)\n",
    ">> * B.可选：city，citylimit，children，offset，page，extensions，sig，output，callback"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 63,
   "metadata": {},
   "outputs": [],
   "source": [
    "def place_text(keywords,types,city=None,citylimit=None,children=None,page=None,extensions='base',sig=None)->dict:\n",
    "    \"\"\"关键字搜索\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/place/text?parameters'\n",
    "    params={\n",
    "        'key':key,\n",
    "        'keywords':keywords,\n",
    "        'types':types,\n",
    "        'city':city,\n",
    "        'citylimit':citylimit,\n",
    "        'children':children,\n",
    "        'page':page,\n",
    "        'extensions':extensions,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 64,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'suggestion': {'keywords': [], 'cities': []}, 'count': '890', 'infocode': '10000', 'pois': [{'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/57060a53ac3a0506d62428220a614fc7'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/9c149268e149c31cb5487677cc993d21'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/64df4cc898e4aa4388cd46f64d8aab90'}], 'discount_num': '0', 'gridcode': '3513018402', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '花都区', 'children': [], 'alias': '广东行政学院', 'tel': '020-86867103;020-86867108', 'id': 'B00140UFJI', 'tag': [], 'event': [], 'entr_location': '113.18615,23.398564', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-14 08:47:37', 'website': [], 'address': '新华街迎宾大道西28号(近圆玄道观)', 'adcode': '440114', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广东行政职业学院', 'location': '113.186434,23.400286', 'shopid': [], 'navi_poiid': 'F49F008042_3218', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': []}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/844717a66f6f45f3e8781c27fa387180'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/35f81c1dbfce4bdba52389f7c1767b31'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/019f49f41a24ce4481b3f19c111ced10'}], 'discount_num': '0', 'gridcode': '3513014600', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '花都区', 'children': [], 'alias': [], 'tel': '020-86863468', 'id': 'B00140W6FI', 'tag': [], 'event': [], 'entr_location': '113.202664,23.367478', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-04 00:22:37', 'website': [], 'address': '工业大道东11号', 'adcode': '440114', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广东交通职业技术学院花都校区', 'location': '113.203282,23.366957', 'shopid': [], 'navi_poiid': 'F49F008042_198173;128817', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '4.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://aos-cdn-image.amap.com/sns/ugccomment/e0732465-f320-4089-a08b-e03396c47afd.jpg'}, {'title': [], 'url': 'http://aos-cdn-image.amap.com/sns/ugccomment/619d453b-771a-457a-a210-25f386a25ce2.jpg'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/749e28b0db1817abd2cbbc8caae73522'}], 'discount_num': '0', 'gridcode': '3513034521', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '白云区', 'children': [], 'alias': '仲恺学院', 'tel': '020-89003030', 'id': 'B00141J9T1', 'tag': [], 'event': [], 'entr_location': '113.44547,23.374207', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-16 20:20:22', 'website': [], 'address': '广新路388号', 'adcode': '440111', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '仲恺农业工程学院白云校区', 'location': '113.444768,23.37504', 'shopid': [], 'navi_poiid': 'F49F008044_1175;733', 'groupbuy_num': '0'}, {'parent': 'B0FFJGE87R', 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': []}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/10aeb375d7caffddb577941b73276447'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/015ad788f1d27854e0686b7b57d58877'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/ac7f13c04a5e9d6b281e7758049cc2e2'}], 'discount_num': '0', 'gridcode': '3413437120', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '番禺区', 'children': [], 'alias': '中山大学东校区', 'tel': '020-39332007', 'id': 'B00140BD3O', 'tag': [], 'event': [], 'entr_location': '113.391536,23.071431', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-13 21:08:59', 'website': [], 'address': '大学城外环东路132号', 'adcode': '440113', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': '309', 'exit_location': [], 'name': '中山大学广州校区东校园', 'location': '113.391786,23.067691', 'shopid': [], 'navi_poiid': 'F49F012044_792', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '4.5'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/f57d697327007bcd701bbf02e27097d2'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/9945e4b78eb77126e7a4fd715141e244'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/8394efe5a52452e47cdf60e7ce10f571'}], 'discount_num': '0', 'gridcode': '3413531820', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '黄埔区', 'children': [], 'alias': '广州航海高等专科学校', 'tel': '020-32081599', 'id': 'B00140JHW5', 'tag': [], 'event': [], 'entr_location': '113.478271,23.101759', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-14 01:07:25', 'website': [], 'address': '红山三路101号', 'adcode': '440112', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '红山', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广州航海学院', 'location': '113.478912,23.099956', 'shopid': [], 'navi_poiid': 'F49F011044_92419', 'groupbuy_num': '0'}, {'parent': 'B00141J1R1', 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/a27a6f27246d4b542c8c239d95814d86'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/0be4784b36306c6d49d8b632d79509d7'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/2798b4e37cdfca05adb185409af8365a'}], 'discount_num': '0', 'gridcode': '3413627021', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '白云区', 'children': [], 'alias': [], 'tel': '020-36209655;020-36209026;020-36334265', 'id': 'B001406865', 'tag': [], 'event': [], 'entr_location': '113.256161,23.233588', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-15 07:04:51', 'website': [], 'address': '夏花路夏茅段', 'adcode': '440111', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '石井', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': '309', 'exit_location': [], 'name': '广东外语外贸大学公开学院', 'location': '113.255095,23.231253', 'shopid': [], 'navi_poiid': 'F49F010042_334143', 'groupbuy_num': '0'}, {'parent': 'B0FFIGLX5N', 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': []}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/b7bf8a84d294cdfd127ee305786a6f51'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/7f4da15d337745e5ceed0a2a236cd9ff'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/41905ff2ae15007897a58637f35ad2ea'}], 'discount_num': '0', 'gridcode': '3413521302', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '海珠区', 'children': [], 'alias': [], 'tel': '020-84113130', 'id': 'B00140SP8X', 'tag': [], 'event': [], 'entr_location': '113.297398,23.092468', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-14 12:40:11', 'website': [], 'address': '中山大学东南区258号', 'adcode': '440105', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '新港', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': '309', 'exit_location': [], 'name': '中山大学广州南校区外国语学院', 'location': '113.297711,23.092306', 'shopid': [], 'navi_poiid': 'F49F011043_71650', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.5'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/0e59f6ad64edca40d4b3de0dc1525248'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/606d077e3f765f1d341ece091aa0e2ea'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/bdbb98c47c0bfe2a5fca3809cf0a5f9a'}], 'discount_num': '0', 'gridcode': '3413538221', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '天河区', 'children': [], 'alias': [], 'tel': '020-82373721;15889606200', 'id': 'B00140UG7N', 'tag': [], 'event': [], 'entr_location': '113.406433,23.155093', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-17 22:23:12', 'website': [], 'address': '东圃镇小新塘合景路99号', 'adcode': '440106', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '私立华联学院', 'location': '113.405272,23.15754', 'shopid': [], 'navi_poiid': 'F49F011044_300726;693726;776267', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/d89f119f384bf8c108ab81bce53ce41f'}, {'title': '广东行政学院', 'url': 'http://store.is.autonavi.com/showpic/1f1f7377c87acad898e7f0476c09b281'}], 'discount_num': '0', 'gridcode': '3413525221', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '越秀区', 'children': [], 'alias': [], 'tel': '020-83122213;020-83122800', 'id': 'B00140UETB', 'tag': [], 'event': [], 'entr_location': '113.28108,23.132427', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-18 05:36:09', 'website': [], 'address': '建设大马路3号', 'adcode': '440104', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '东风', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广东行政学院', 'location': '113.28018,23.132573', 'shopid': [], 'navi_poiid': 'F49F011043_67297', 'groupbuy_num': '0'}, {'parent': 'B0FFFQH7AQ', 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.5'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/4a6aa3d0d5736dd31ca218ae9f1e2bd1'}, {'title': '门头照', 'url': 'http://store.is.autonavi.com/showpic/37ef49c6a24d050c29782b04678ee94e'}, {'title': '门头照', 'url': 'http://store.is.autonavi.com/showpic/ab5437264c42af705dd571939362ae48'}], 'discount_num': '0', 'gridcode': '3413620511', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '天河区', 'children': [], 'alias': [], 'tel': '020-87706176', 'id': 'B00140WEXT', 'tag': [], 'event': [], 'entr_location': '113.318294,23.171637', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-18 05:30:10', 'website': [], 'address': '广州大道北963', 'adcode': '440106', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': '0', 'exit_location': [], 'name': '广东工贸职业技术学院(西区)', 'location': '113.317813,23.171841', 'shopid': [], 'navi_poiid': 'F49F010043_298365', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': []}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/193f527ae97eb298d2347bd7b4cdf680'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/6d52ea1d25f8ef61066142673512b6da'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/960da4a1f1b4e744316f603e21bc9da4'}], 'discount_num': '0', 'gridcode': '3513241611', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '从化区', 'children': [], 'alias': '从化珠江学院|广东技术师范学院翻译学院|珠江学院', 'tel': '020-87979603;020-87975122;020-87981811', 'id': 'B00140V23H', 'tag': [], 'event': [], 'entr_location': '113.578611,23.513988', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-18 08:03:20', 'website': [], 'address': '江浦街广从北路2004号', 'adcode': '440117', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '华南农业大学珠江学院', 'location': '113.580936,23.511761', 'shopid': [], 'navi_poiid': 'F49F006045_115762', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '4.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/7b38696db982d65a2b6b66f7d4f01e4b'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/12defcd885ea2b0224daa83e2a16c63e'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/23eb8df2941223cc2c2b9f94ffd61fd3'}], 'discount_num': '0', 'gridcode': '3413521400', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '海珠区', 'children': [], 'alias': [], 'tel': '020-61230389;020-34300255', 'id': 'B001403B2C', 'tag': [], 'event': [], 'entr_location': '113.299566,23.091157', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-17 03:58:21', 'website': [], 'address': '新港西路152号', 'adcode': '440105', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '新港', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广东轻工职业技术学院新港校区', 'location': '113.30328,23.091727', 'shopid': [], 'navi_poiid': 'F49F011043_38391', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/7ccf8c5859a0694ca89b0fd621c6a904'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/7cdd0506d4bcfc6554eead641ec78167'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/27cb928199ea6b3af307d38600bd98a9'}], 'discount_num': '0', 'gridcode': '3413527812', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '天河区', 'children': [], 'alias': [], 'tel': '020-85292581;020-85291645', 'id': 'B00140CHGL', 'tag': [], 'event': [], 'entr_location': '113.362198,23.144577', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-18 10:02:07', 'website': [], 'address': '科华街273号', 'adcode': '440106', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '五山', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广东科贸职业学院(天河校区)', 'location': '113.362616,23.145034', 'shopid': [], 'navi_poiid': 'F49F011043_3269', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/a6196636df12f10ab4e6c01a51e68238'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/8f44644b619da2224e570cf345aa5bd1'}], 'discount_num': '0', 'gridcode': '3413419911', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '荔湾区', 'children': [], 'alias': [], 'tel': '020-81581435', 'id': 'B00140V26O', 'tag': [], 'event': [], 'entr_location': '113.241441,23.078997', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-17 01:39:33', 'website': [], 'address': '鹤建里七巷4号', 'adcode': '440103', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': '510380', 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广州市工贸技师学院(南校区)', 'location': '113.242199,23.078649', 'shopid': [], 'navi_poiid': 'F49F012042_118571', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/814752aee447d0e78423deebdb15221a'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/f109e9c20f80402e207077ab7c5be9db'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/539e7c064764a70ad1bfd7cdfd2b93a2'}], 'discount_num': '0', 'gridcode': '3413524222', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '越秀区', 'children': [], 'alias': '广州工程技术学院', 'tel': '020-87663584', 'id': 'B00140B0O8', 'tag': [], 'event': [], 'entr_location': '113.286521,23.123804', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-15 16:18:01', 'website': [], 'address': '东川路94号', 'adcode': '440104', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '东川', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广州工程技术职业学院东川校区', 'location': '113.28695,23.123763', 'shopid': [], 'navi_poiid': 'F49F011043_140814', 'groupbuy_num': '0'}, {'parent': 'B0FFF3A3EP', 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '4.5'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/3a9d484499cf1ebc2deca61ea86887ad'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/1e3ab722ae76d271d905548aecc7f82a'}, {'title': '内景图', 'url': 'http://store.is.autonavi.com/showpic/064665941d813530ddb2578a554d3cf1'}], 'discount_num': '0', 'gridcode': '3413522222', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '海珠区', 'children': [], 'alias': [], 'tel': '020-89669007', 'id': 'B00140T4N5', 'tag': [], 'event': [], 'entr_location': '113.28339,23.106307', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-14 09:47:52', 'website': [], 'address': '远安新街75号', 'adcode': '440105', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '滨江', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': '0', 'exit_location': [], 'name': '广州城市职业学院滨江校区', 'location': '113.283569,23.105616', 'shopid': [], 'navi_poiid': 'F49F011043_10418', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '4.5'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/808b2fecb61ca0b62325962f56334d97'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/94868c12ef003864f8921c7c5e05cd02'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/31c3e6867fa01520ad25a9e8e6bafc70'}], 'discount_num': '0', 'gridcode': '3413521521', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '海珠区', 'children': [], 'alias': '广东教育学院|广二师范', 'tel': '020-34113231;020-34113372', 'id': 'B00141I9XN', 'tag': [], 'event': [], 'entr_location': '113.315480,23.097858', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-14 15:06:15', 'website': [], 'address': '新港中路351号(近客村立交)', 'adcode': '440105', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '新港', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广东第二师范学院海珠校区', 'location': '113.317227,23.098657', 'shopid': [], 'navi_poiid': 'F49F011043_175836', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '4.0'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/e0d3dd9f7f383fa557afbe5033e8243e'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/40f12934115b711197b9d11f69e606e8'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/299b2c6851123e46f974f8d7307c4843'}], 'discount_num': '0', 'gridcode': '3413430101', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '番禺区', 'children': [], 'alias': [], 'tel': '020-84567636', 'id': 'B00140MVIL', 'tag': [], 'event': [], 'entr_location': '113.394828,23.001374', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-17 00:34:56', 'website': [], 'address': '南村镇市新路北段669号', 'adcode': '440113', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广州科技贸易职业学院', 'location': '113.392424,23.00025', 'shopid': [], 'navi_poiid': 'F49F012044_227', 'groupbuy_num': '0'}, {'parent': 'B0FFGH24MR', 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': []}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': [], 'url': 'http://store.is.autonavi.com/showpic/5bcd7fd108a94903d0960047b05d5931'}], 'discount_num': '0', 'gridcode': '3413528601', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '天河区', 'children': [], 'alias': [], 'tel': '020-87205961;020-87206254', 'id': 'B00140CHIC', 'tag': [], 'event': [], 'entr_location': '113.330458,23.150107', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-17 02:53:47', 'website': [], 'address': '瘦狗岭路377号', 'adcode': '440106', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': '五山', 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': '309', 'exit_location': [], 'name': '暨南大学华文学院', 'location': '113.331995,23.151673', 'shopid': [], 'navi_poiid': 'F49F011043_31995;319681', 'groupbuy_num': '0'}, {'parent': [], 'distance': [], 'pcode': '440000', 'importance': [], 'biz_ext': {'cost': [], 'rating': '3.5'}, 'recommend': '0', 'type': '科教文化服务;学校;高等院校', 'photos': [{'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/cb8f9da97d8bd8b2c4e21c2cf45e1501'}, {'title': '外景图', 'url': 'http://store.is.autonavi.com/showpic/ae97ea054d5ea25d37266808bb021e8a'}, {'title': [], 'url': 'http://store.is.autonavi.com/showpic/56416599b1143cb3f80bd9657d248b7b'}], 'discount_num': '0', 'gridcode': '3413528220', 'typecode': '141201', 'shopinfo': '0', 'poiweight': [], 'citycode': '020', 'adname': '白云区', 'children': [], 'alias': [], 'tel': '020-86375471;020-86374495', 'id': 'B00140M5VZ', 'tag': [], 'event': [], 'entr_location': '113.274553,23.158409', 'indoor_map': '0', 'email': [], 'timestamp': '2020-11-16 23:07:01', 'website': [], 'address': '广园中路248号', 'adcode': '440111', 'pname': '广东省', 'biz_type': [], 'cityname': '广州市', 'postcode': [], 'match': '0', 'business_area': [], 'indoor_data': {'cmsid': [], 'truefloor': [], 'cpid': [], 'floor': []}, 'childtype': [], 'exit_location': [], 'name': '广州城市职业学院南校区', 'location': '113.27505,23.15633', 'shopid': [], 'navi_poiid': [], 'groupbuy_num': '0'}], 'status': '1', 'info': 'OK'}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>parent</th>\n",
       "      <th>distance</th>\n",
       "      <th>pcode</th>\n",
       "      <th>importance</th>\n",
       "      <th>recommend</th>\n",
       "      <th>type</th>\n",
       "      <th>photos</th>\n",
       "      <th>discount_num</th>\n",
       "      <th>gridcode</th>\n",
       "      <th>typecode</th>\n",
       "      <th>...</th>\n",
       "      <th>location</th>\n",
       "      <th>shopid</th>\n",
       "      <th>navi_poiid</th>\n",
       "      <th>groupbuy_num</th>\n",
       "      <th>biz_ext.cost</th>\n",
       "      <th>biz_ext.rating</th>\n",
       "      <th>indoor_data.cmsid</th>\n",
       "      <th>indoor_data.truefloor</th>\n",
       "      <th>indoor_data.cpid</th>\n",
       "      <th>indoor_data.floor</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3513018402</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.186434,23.400286</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F008042_3218</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3513014600</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.203282,23.366957</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F008042_198173;128817</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://aos-cdn-image.am...</td>\n",
       "      <td>0</td>\n",
       "      <td>3513034521</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.444768,23.37504</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F008044_1175;733</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B0FFJGE87R</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': '内景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413437120</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.391786,23.067691</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F012044_792</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': '内景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413531820</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.478912,23.099956</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011044_92419</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.5</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B00141J1R1</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413627021</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.255095,23.231253</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F010042_334143</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>B0FFIGLX5N</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413521302</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.297711,23.092306</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_71650</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413538221</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.405272,23.15754</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011044_300726;693726;776267</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.5</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413525221</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.28018,23.132573</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_67297</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B0FFFQH7AQ</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413620511</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.317813,23.171841</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F010043_298365</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.5</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>0</td>\n",
       "      <td>3513241611</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.580936,23.511761</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F006045_115762</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413521400</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.30328,23.091727</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_38391</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413527812</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.362616,23.145034</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_3269</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413419911</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.242199,23.078649</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F012042_118571</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413524222</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.28695,23.123763</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_140814</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>B0FFF3A3EP</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413522222</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.283569,23.105616</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_10418</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.5</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413521521</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.317227,23.098657</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_175836</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.5</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413430101</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.392424,23.00025</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F012044_227</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>B0FFGH24MR</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413528601</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.331995,23.151673</td>\n",
       "      <td>[]</td>\n",
       "      <td>F49F011043_31995;319681</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>440000</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>0</td>\n",
       "      <td>3413528220</td>\n",
       "      <td>141201</td>\n",
       "      <td>...</td>\n",
       "      <td>113.27505,23.15633</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.5</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>20 rows × 46 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "        parent distance   pcode importance recommend            type  \\\n",
       "0           []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "1           []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "2           []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "3   B0FFJGE87R       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "4           []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "5   B00141J1R1       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "6   B0FFIGLX5N       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "7           []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "8           []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "9   B0FFFQH7AQ       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "10          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "11          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "12          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "13          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "14          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "15  B0FFF3A3EP       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "16          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "17          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "18  B0FFGH24MR       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "19          []       []  440000         []         0  科教文化服务;学校;高等院校   \n",
       "\n",
       "                                               photos discount_num  \\\n",
       "0   [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "1   [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "2   [{'title': [], 'url': 'http://aos-cdn-image.am...            0   \n",
       "3   [{'title': '内景图', 'url': 'http://store.is.auto...            0   \n",
       "4   [{'title': '内景图', 'url': 'http://store.is.auto...            0   \n",
       "5   [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "6   [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "7   [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "8   [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "9   [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "10  [{'title': '外景图', 'url': 'http://store.is.auto...            0   \n",
       "11  [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "12  [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "13  [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "14  [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "15  [{'title': '外景图', 'url': 'http://store.is.auto...            0   \n",
       "16  [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "17  [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "18  [{'title': [], 'url': 'http://store.is.autonav...            0   \n",
       "19  [{'title': '外景图', 'url': 'http://store.is.auto...            0   \n",
       "\n",
       "      gridcode typecode  ...              location shopid  \\\n",
       "0   3513018402   141201  ...  113.186434,23.400286     []   \n",
       "1   3513014600   141201  ...  113.203282,23.366957     []   \n",
       "2   3513034521   141201  ...   113.444768,23.37504     []   \n",
       "3   3413437120   141201  ...  113.391786,23.067691     []   \n",
       "4   3413531820   141201  ...  113.478912,23.099956     []   \n",
       "5   3413627021   141201  ...  113.255095,23.231253     []   \n",
       "6   3413521302   141201  ...  113.297711,23.092306     []   \n",
       "7   3413538221   141201  ...   113.405272,23.15754     []   \n",
       "8   3413525221   141201  ...   113.28018,23.132573     []   \n",
       "9   3413620511   141201  ...  113.317813,23.171841     []   \n",
       "10  3513241611   141201  ...  113.580936,23.511761     []   \n",
       "11  3413521400   141201  ...   113.30328,23.091727     []   \n",
       "12  3413527812   141201  ...  113.362616,23.145034     []   \n",
       "13  3413419911   141201  ...  113.242199,23.078649     []   \n",
       "14  3413524222   141201  ...   113.28695,23.123763     []   \n",
       "15  3413522222   141201  ...  113.283569,23.105616     []   \n",
       "16  3413521521   141201  ...  113.317227,23.098657     []   \n",
       "17  3413430101   141201  ...   113.392424,23.00025     []   \n",
       "18  3413528601   141201  ...  113.331995,23.151673     []   \n",
       "19  3413528220   141201  ...    113.27505,23.15633     []   \n",
       "\n",
       "                         navi_poiid groupbuy_num biz_ext.cost biz_ext.rating  \\\n",
       "0                   F49F008042_3218            0           []            3.0   \n",
       "1          F49F008042_198173;128817            0           []             []   \n",
       "2               F49F008044_1175;733            0           []            4.0   \n",
       "3                    F49F012044_792            0           []             []   \n",
       "4                  F49F011044_92419            0           []            4.5   \n",
       "5                 F49F010042_334143            0           []            3.0   \n",
       "6                  F49F011043_71650            0           []             []   \n",
       "7   F49F011044_300726;693726;776267            0           []            3.5   \n",
       "8                  F49F011043_67297            0           []            3.0   \n",
       "9                 F49F010043_298365            0           []            3.5   \n",
       "10                F49F006045_115762            0           []             []   \n",
       "11                 F49F011043_38391            0           []            4.0   \n",
       "12                  F49F011043_3269            0           []            3.0   \n",
       "13                F49F012042_118571            0           []            3.0   \n",
       "14                F49F011043_140814            0           []            3.0   \n",
       "15                 F49F011043_10418            0           []            4.5   \n",
       "16                F49F011043_175836            0           []            4.5   \n",
       "17                   F49F012044_227            0           []            4.0   \n",
       "18          F49F011043_31995;319681            0           []             []   \n",
       "19                               []            0           []            3.5   \n",
       "\n",
       "   indoor_data.cmsid indoor_data.truefloor indoor_data.cpid indoor_data.floor  \n",
       "0                 []                    []               []                []  \n",
       "1                 []                    []               []                []  \n",
       "2                 []                    []               []                []  \n",
       "3                 []                    []               []                []  \n",
       "4                 []                    []               []                []  \n",
       "5                 []                    []               []                []  \n",
       "6                 []                    []               []                []  \n",
       "7                 []                    []               []                []  \n",
       "8                 []                    []               []                []  \n",
       "9                 []                    []               []                []  \n",
       "10                []                    []               []                []  \n",
       "11                []                    []               []                []  \n",
       "12                []                    []               []                []  \n",
       "13                []                    []               []                []  \n",
       "14                []                    []               []                []  \n",
       "15                []                    []               []                []  \n",
       "16                []                    []               []                []  \n",
       "17                []                    []               []                []  \n",
       "18                []                    []               []                []  \n",
       "19                []                    []               []                []  \n",
       "\n",
       "[20 rows x 46 columns]"
      ]
     },
     "execution_count": 64,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "广州_大学 = place_text(keywords=None,types='高等院校',city=\"广州市\",children=1,extensions='all',page=3)\n",
    "print(广州_大学)\n",
    "df_广州_大学 = pd.json_normalize(广州_大学[\"pois\"])\n",
    "df_广州_大学 "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 周边搜索\n",
    "\n",
    "> * 1、https://restapi.amap.com/v3/place/around?parameters     \n",
    "> * 2、requests.get()\n",
    "> * 3、参数：\n",
    "\n",
    ">> * A.必选：key，location\n",
    ">> * B.可选：keywords，types，city，radius，sortrule，offset，page，extensions，sig，output，callback"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 65,
   "metadata": {},
   "outputs": [],
   "source": [
    "def place_around(location,keywords=None,types=None,city=None,redius=None,sortrule=None,offset=None,page=None,extensions='base',sig=None)->dict:\n",
    "    \"\"\"周边搜索\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/place/around?parameters'\n",
    "    params={\n",
    "        'key':key,\n",
    "        'keywords':keywords,\n",
    "        'location':location,\n",
    "        'types':types,\n",
    "        'city':city,\n",
    "        'redius':redius,\n",
    "        'sortrule':sortrule,\n",
    "        'offset':offset,\n",
    "        'page':page,\n",
    "        'extensions':extensions,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 66,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [], 'cities': []},\n",
       " 'count': '858',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': 'B00140AXVL',\n",
       "   'address': '新城路68号新世纪广场1层',\n",
       "   'distance': '4',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [],\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'name': '麦当劳(从化新世纪广场分店)',\n",
       "   'location': '113.588730,23.547599',\n",
       "   'tel': '020-87921092;4008597597',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140BNGX'},\n",
       "  {'parent': 'B00140AXVL',\n",
       "   'address': '东成路68号新世纪广场3楼N3087',\n",
       "   'distance': '4',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'name': '美妍知己',\n",
       "   'location': '113.588782,23.548000',\n",
       "   'tel': '15918432947',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFFC9GAM'},\n",
       "  {'parent': [],\n",
       "   'address': '东成路68号三楼',\n",
       "   'distance': '12',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '维怡美',\n",
       "   'location': '113.588760,23.547639',\n",
       "   'tel': '13902326698',\n",
       "   'shopid': [],\n",
       "   'id': 'B0GR6X2NN1'},\n",
       "  {'parent': [],\n",
       "   'address': '东成路新世纪广场N3089号',\n",
       "   'distance': '13',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '玉颜阁美容养生馆',\n",
       "   'location': '113.588948,23.547777',\n",
       "   'tel': '13926161213',\n",
       "   'shopid': [],\n",
       "   'id': 'B0G3VBBLZK'},\n",
       "  {'parent': 'B00141P6DH',\n",
       "   'address': '街口街68号D0006铺(广百麦当劳1楼，回味果屋旁)',\n",
       "   'distance': '15',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;冷饮店;冷饮店',\n",
       "   'photos': [],\n",
       "   'typecode': '050700',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'name': '益禾堂(新世纪店)',\n",
       "   'location': '113.588758,23.547615',\n",
       "   'tel': '18585371766;18300939944',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFK1SZNO'},\n",
       "  {'parent': 'B00141P6DH',\n",
       "   'address': '街口街东成路68号广百百货F1',\n",
       "   'distance': '16',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;生活服务场所;生活服务场所',\n",
       "   'photos': [],\n",
       "   'typecode': '070000',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'name': '免费打印手机照片(广百百货店)',\n",
       "   'location': '113.589333,23.548077',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFI2R263'},\n",
       "  {'parent': [],\n",
       "   'address': '街口东成路68号广百百货(从化店)F3',\n",
       "   'distance': '22',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '黛萱儿(广百百货从化店)',\n",
       "   'location': '113.589218,23.547895',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0G1PGJ8P0'},\n",
       "  {'parent': 'B00141P6DH',\n",
       "   'address': '街口东成路68号广百百货(从化店)F3',\n",
       "   'distance': '23',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'name': '水芝美(广百百货店)',\n",
       "   'location': '113.588856,23.548015',\n",
       "   'tel': '15920491020;13527754931',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLFK5UP'},\n",
       "  {'parent': 'B001409A54',\n",
       "   'address': '街口东成路68号广百三楼3040铺',\n",
       "   'distance': '24',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'name': '秀色专业美甲',\n",
       "   'location': '113.589060,23.547763',\n",
       "   'tel': '15013309421',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFFSNIAB'},\n",
       "  {'parent': 'B0FFI2R5CH',\n",
       "   'address': '街口东成路68号广百百货(从化店)F3',\n",
       "   'distance': '24',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'name': '卡洛爱伊生活体验馆(广州从化店)',\n",
       "   'location': '113.588766,23.547526',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFMCQ94C'},\n",
       "  {'parent': 'B00141P6DH',\n",
       "   'address': '东成路新世纪广场N2036A2号',\n",
       "   'distance': '25',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'name': '曼芝美甲美睫',\n",
       "   'location': '113.589063,23.547690',\n",
       "   'tel': '13570598214',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFL9K6UW'},\n",
       "  {'parent': [],\n",
       "   'address': '东成路68号二楼',\n",
       "   'distance': '26',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '娜菲时尚美甲纹绣',\n",
       "   'location': '113.589082,23.547780',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0G3JK2FSR'},\n",
       "  {'parent': [],\n",
       "   'address': '东成路68号',\n",
       "   'distance': '29',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '优养轩',\n",
       "   'location': '113.589094,23.547830',\n",
       "   'tel': '18319672940',\n",
       "   'shopid': [],\n",
       "   'id': 'B0G3ZNL2AP'},\n",
       "  {'parent': 'B00141P6DH',\n",
       "   'address': '街口东成路68号广百百货(从化店)F3',\n",
       "   'distance': '29',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'name': '馨梦缘',\n",
       "   'location': '113.589230,23.547976',\n",
       "   'tel': '13660893526',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFM60WU3'},\n",
       "  {'parent': 'B0FFI2R5CH',\n",
       "   'address': '街口东成路68号广百百货(从化店)F2',\n",
       "   'distance': '31',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'name': '绣美时光工作室(广百百货从化店)',\n",
       "   'location': '113.588828,23.547992',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFM6ZALZ'},\n",
       "  {'parent': [],\n",
       "   'address': '街口东成路68号广百百货(从化店)F4',\n",
       "   'distance': '32',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '台式快剪(从化店)',\n",
       "   'location': '113.589108,23.547599',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFKPZBZZ'},\n",
       "  {'parent': 'B00141P6DH',\n",
       "   'address': '街口东成路68号广百百货(从化店)F2',\n",
       "   'distance': '33',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'name': '爱美化妆室(广百百货店)',\n",
       "   'location': '113.589153,23.547738',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLEQQMI'},\n",
       "  {'parent': 'B0FFI2R5CH',\n",
       "   'address': '街口街东成路68号广百百货F3',\n",
       "   'distance': '34',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;洗浴推拿场所;洗浴推拿场所',\n",
       "   'photos': [],\n",
       "   'typecode': '071400',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'name': '美容美发按摩店(广百百货店)',\n",
       "   'location': '113.589189,23.548053',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLADTOA'},\n",
       "  {'parent': [],\n",
       "   'address': '新城东路77号',\n",
       "   'distance': '34',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '毛记秘制烤鸭肠(广百南门店)',\n",
       "   'location': '113.588893,23.547433',\n",
       "   'tel': '15817180583',\n",
       "   'shopid': [],\n",
       "   'id': 'B0G2UG3316'},\n",
       "  {'parent': [],\n",
       "   'address': '东成路68号',\n",
       "   'distance': '35',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'photos': [],\n",
       "   'typecode': '071100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '奈希美容美甲',\n",
       "   'location': '113.589111,23.547566',\n",
       "   'tel': '13725177067',\n",
       "   'shopid': [],\n",
       "   'id': 'B0G3ZBMT31'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 66,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "从化客运站_周边POI = place_around(从化客运站)\n",
    "从化客运站_周边POI"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 67,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>parent</th>\n",
       "      <th>address</th>\n",
       "      <th>distance</th>\n",
       "      <th>biz_ext</th>\n",
       "      <th>importance</th>\n",
       "      <th>biz_type</th>\n",
       "      <th>type</th>\n",
       "      <th>photos</th>\n",
       "      <th>typecode</th>\n",
       "      <th>shopinfo</th>\n",
       "      <th>poiweight</th>\n",
       "      <th>childtype</th>\n",
       "      <th>name</th>\n",
       "      <th>location</th>\n",
       "      <th>tel</th>\n",
       "      <th>shopid</th>\n",
       "      <th>id</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>B00140AXVL</td>\n",
       "      <td>新城路68号新世纪广场1层</td>\n",
       "      <td>4</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>餐饮服务;快餐厅;麦当劳</td>\n",
       "      <td>[]</td>\n",
       "      <td>050302</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>202</td>\n",
       "      <td>麦当劳(从化新世纪广场分店)</td>\n",
       "      <td>113.588730,23.547599</td>\n",
       "      <td>020-87921092;4008597597</td>\n",
       "      <td>[]</td>\n",
       "      <td>B00140BNGX</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>B00140AXVL</td>\n",
       "      <td>东成路68号新世纪广场3楼N3087</td>\n",
       "      <td>4</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>202</td>\n",
       "      <td>美妍知己</td>\n",
       "      <td>113.588782,23.548000</td>\n",
       "      <td>15918432947</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFFC9GAM</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>[]</td>\n",
       "      <td>东成路68号三楼</td>\n",
       "      <td>12</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>维怡美</td>\n",
       "      <td>113.588760,23.547639</td>\n",
       "      <td>13902326698</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0GR6X2NN1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>[]</td>\n",
       "      <td>东成路新世纪广场N3089号</td>\n",
       "      <td>13</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>玉颜阁美容养生馆</td>\n",
       "      <td>113.588948,23.547777</td>\n",
       "      <td>13926161213</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0G3VBBLZK</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>B00141P6DH</td>\n",
       "      <td>街口街68号D0006铺(广百麦当劳1楼，回味果屋旁)</td>\n",
       "      <td>15</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>餐饮服务;冷饮店;冷饮店</td>\n",
       "      <td>[]</td>\n",
       "      <td>050700</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>202</td>\n",
       "      <td>益禾堂(新世纪店)</td>\n",
       "      <td>113.588758,23.547615</td>\n",
       "      <td>18585371766;18300939944</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFK1SZNO</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B00141P6DH</td>\n",
       "      <td>街口街东成路68号广百百货F1</td>\n",
       "      <td>16</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>[]</td>\n",
       "      <td>070000</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>202</td>\n",
       "      <td>免费打印手机照片(广百百货店)</td>\n",
       "      <td>113.589333,23.548077</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFI2R263</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>[]</td>\n",
       "      <td>街口东成路68号广百百货(从化店)F3</td>\n",
       "      <td>22</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>黛萱儿(广百百货从化店)</td>\n",
       "      <td>113.589218,23.547895</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0G1PGJ8P0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B00141P6DH</td>\n",
       "      <td>街口东成路68号广百百货(从化店)F3</td>\n",
       "      <td>23</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>202</td>\n",
       "      <td>水芝美(广百百货店)</td>\n",
       "      <td>113.588856,23.548015</td>\n",
       "      <td>15920491020;13527754931</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFLFK5UP</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>B001409A54</td>\n",
       "      <td>街口东成路68号广百三楼3040铺</td>\n",
       "      <td>24</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>1</td>\n",
       "      <td>[]</td>\n",
       "      <td>202</td>\n",
       "      <td>秀色专业美甲</td>\n",
       "      <td>113.589060,23.547763</td>\n",
       "      <td>15013309421</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFFSNIAB</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B0FFI2R5CH</td>\n",
       "      <td>街口东成路68号广百百货(从化店)F3</td>\n",
       "      <td>24</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>202</td>\n",
       "      <td>卡洛爱伊生活体验馆(广州从化店)</td>\n",
       "      <td>113.588766,23.547526</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFMCQ94C</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>B00141P6DH</td>\n",
       "      <td>东成路新世纪广场N2036A2号</td>\n",
       "      <td>25</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>202</td>\n",
       "      <td>曼芝美甲美睫</td>\n",
       "      <td>113.589063,23.547690</td>\n",
       "      <td>13570598214</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFL9K6UW</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>[]</td>\n",
       "      <td>东成路68号二楼</td>\n",
       "      <td>26</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>娜菲时尚美甲纹绣</td>\n",
       "      <td>113.589082,23.547780</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0G3JK2FSR</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>[]</td>\n",
       "      <td>东成路68号</td>\n",
       "      <td>29</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>优养轩</td>\n",
       "      <td>113.589094,23.547830</td>\n",
       "      <td>18319672940</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0G3ZNL2AP</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>B00141P6DH</td>\n",
       "      <td>街口东成路68号广百百货(从化店)F3</td>\n",
       "      <td>29</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>202</td>\n",
       "      <td>馨梦缘</td>\n",
       "      <td>113.589230,23.547976</td>\n",
       "      <td>13660893526</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFM60WU3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>B0FFI2R5CH</td>\n",
       "      <td>街口东成路68号广百百货(从化店)F2</td>\n",
       "      <td>31</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>202</td>\n",
       "      <td>绣美时光工作室(广百百货从化店)</td>\n",
       "      <td>113.588828,23.547992</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFM6ZALZ</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>[]</td>\n",
       "      <td>街口东成路68号广百百货(从化店)F4</td>\n",
       "      <td>32</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>台式快剪(从化店)</td>\n",
       "      <td>113.589108,23.547599</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFKPZBZZ</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>B00141P6DH</td>\n",
       "      <td>街口东成路68号广百百货(从化店)F2</td>\n",
       "      <td>33</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>202</td>\n",
       "      <td>爱美化妆室(广百百货店)</td>\n",
       "      <td>113.589153,23.547738</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFLEQQMI</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>B0FFI2R5CH</td>\n",
       "      <td>街口街东成路68号广百百货F3</td>\n",
       "      <td>34</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;洗浴推拿场所;洗浴推拿场所</td>\n",
       "      <td>[]</td>\n",
       "      <td>071400</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>202</td>\n",
       "      <td>美容美发按摩店(广百百货店)</td>\n",
       "      <td>113.589189,23.548053</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFLADTOA</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>[]</td>\n",
       "      <td>新城东路77号</td>\n",
       "      <td>34</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>餐饮服务;快餐厅;快餐厅</td>\n",
       "      <td>[]</td>\n",
       "      <td>050300</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>毛记秘制烤鸭肠(广百南门店)</td>\n",
       "      <td>113.588893,23.547433</td>\n",
       "      <td>15817180583</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0G2UG3316</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>[]</td>\n",
       "      <td>东成路68号</td>\n",
       "      <td>35</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>[]</td>\n",
       "      <td>071100</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>奈希美容美甲</td>\n",
       "      <td>113.589111,23.547566</td>\n",
       "      <td>13725177067</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0G3ZBMT31</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "        parent                      address distance biz_ext importance  \\\n",
       "0   B00140AXVL                新城路68号新世纪广场1层        4      []         []   \n",
       "1   B00140AXVL           东成路68号新世纪广场3楼N3087        4      []         []   \n",
       "2           []                     东成路68号三楼       12      []         []   \n",
       "3           []               东成路新世纪广场N3089号       13      []         []   \n",
       "4   B00141P6DH  街口街68号D0006铺(广百麦当劳1楼，回味果屋旁)       15      []         []   \n",
       "5   B00141P6DH              街口街东成路68号广百百货F1       16      []         []   \n",
       "6           []          街口东成路68号广百百货(从化店)F3       22      []         []   \n",
       "7   B00141P6DH          街口东成路68号广百百货(从化店)F3       23      []         []   \n",
       "8   B001409A54            街口东成路68号广百三楼3040铺       24      []         []   \n",
       "9   B0FFI2R5CH          街口东成路68号广百百货(从化店)F3       24      []         []   \n",
       "10  B00141P6DH             东成路新世纪广场N2036A2号       25      []         []   \n",
       "11          []                     东成路68号二楼       26      []         []   \n",
       "12          []                       东成路68号       29      []         []   \n",
       "13  B00141P6DH          街口东成路68号广百百货(从化店)F3       29      []         []   \n",
       "14  B0FFI2R5CH          街口东成路68号广百百货(从化店)F2       31      []         []   \n",
       "15          []          街口东成路68号广百百货(从化店)F4       32      []         []   \n",
       "16  B00141P6DH          街口东成路68号广百百货(从化店)F2       33      []         []   \n",
       "17  B0FFI2R5CH              街口街东成路68号广百百货F3       34      []         []   \n",
       "18          []                      新城东路77号       34      []         []   \n",
       "19          []                       东成路68号       35      []         []   \n",
       "\n",
       "   biz_type                type photos typecode shopinfo poiweight childtype  \\\n",
       "0     diner        餐饮服务;快餐厅;麦当劳     []   050302        0        []       202   \n",
       "1        []    生活服务;美容美发店;美容美发店     []   071100        0        []       202   \n",
       "2        []    生活服务;美容美发店;美容美发店     []   071100        0        []        []   \n",
       "3        []    生活服务;美容美发店;美容美发店     []   071100        0        []        []   \n",
       "4     diner        餐饮服务;冷饮店;冷饮店     []   050700        0        []       202   \n",
       "5        []  生活服务;生活服务场所;生活服务场所     []   070000        0        []       202   \n",
       "6        []    生活服务;美容美发店;美容美发店     []   071100        0        []        []   \n",
       "7        []    生活服务;美容美发店;美容美发店     []   071100        0        []       202   \n",
       "8        []    生活服务;美容美发店;美容美发店     []   071100        1        []       202   \n",
       "9        []    生活服务;美容美发店;美容美发店     []   071100        0        []       202   \n",
       "10       []    生活服务;美容美发店;美容美发店     []   071100        0        []       202   \n",
       "11       []    生活服务;美容美发店;美容美发店     []   071100        0        []        []   \n",
       "12       []    生活服务;美容美发店;美容美发店     []   071100        0        []        []   \n",
       "13       []    生活服务;美容美发店;美容美发店     []   071100        0        []       202   \n",
       "14       []    生活服务;美容美发店;美容美发店     []   071100        0        []       202   \n",
       "15       []    生活服务;美容美发店;美容美发店     []   071100        0        []        []   \n",
       "16       []    生活服务;美容美发店;美容美发店     []   071100        0        []       202   \n",
       "17       []  生活服务;洗浴推拿场所;洗浴推拿场所     []   071400        0        []       202   \n",
       "18    diner        餐饮服务;快餐厅;快餐厅     []   050300        0        []        []   \n",
       "19       []    生活服务;美容美发店;美容美发店     []   071100        0        []        []   \n",
       "\n",
       "                name              location                      tel shopid  \\\n",
       "0     麦当劳(从化新世纪广场分店)  113.588730,23.547599  020-87921092;4008597597     []   \n",
       "1               美妍知己  113.588782,23.548000              15918432947     []   \n",
       "2                维怡美  113.588760,23.547639              13902326698     []   \n",
       "3           玉颜阁美容养生馆  113.588948,23.547777              13926161213     []   \n",
       "4          益禾堂(新世纪店)  113.588758,23.547615  18585371766;18300939944     []   \n",
       "5    免费打印手机照片(广百百货店)  113.589333,23.548077                       []     []   \n",
       "6       黛萱儿(广百百货从化店)  113.589218,23.547895                       []     []   \n",
       "7         水芝美(广百百货店)  113.588856,23.548015  15920491020;13527754931     []   \n",
       "8             秀色专业美甲  113.589060,23.547763              15013309421     []   \n",
       "9   卡洛爱伊生活体验馆(广州从化店)  113.588766,23.547526                       []     []   \n",
       "10            曼芝美甲美睫  113.589063,23.547690              13570598214     []   \n",
       "11          娜菲时尚美甲纹绣  113.589082,23.547780                       []     []   \n",
       "12               优养轩  113.589094,23.547830              18319672940     []   \n",
       "13               馨梦缘  113.589230,23.547976              13660893526     []   \n",
       "14  绣美时光工作室(广百百货从化店)  113.588828,23.547992                       []     []   \n",
       "15         台式快剪(从化店)  113.589108,23.547599                       []     []   \n",
       "16      爱美化妆室(广百百货店)  113.589153,23.547738                       []     []   \n",
       "17    美容美发按摩店(广百百货店)  113.589189,23.548053                       []     []   \n",
       "18    毛记秘制烤鸭肠(广百南门店)  113.588893,23.547433              15817180583     []   \n",
       "19            奈希美容美甲  113.589111,23.547566              13725177067     []   \n",
       "\n",
       "            id  \n",
       "0   B00140BNGX  \n",
       "1   B0FFFC9GAM  \n",
       "2   B0GR6X2NN1  \n",
       "3   B0G3VBBLZK  \n",
       "4   B0FFK1SZNO  \n",
       "5   B0FFI2R263  \n",
       "6   B0G1PGJ8P0  \n",
       "7   B0FFLFK5UP  \n",
       "8   B0FFFSNIAB  \n",
       "9   B0FFMCQ94C  \n",
       "10  B0FFL9K6UW  \n",
       "11  B0G3JK2FSR  \n",
       "12  B0G3ZNL2AP  \n",
       "13  B0FFM60WU3  \n",
       "14  B0FFM6ZALZ  \n",
       "15  B0FFKPZBZZ  \n",
       "16  B0FFLEQQMI  \n",
       "17  B0FFLADTOA  \n",
       "18  B0G2UG3316  \n",
       "19  B0G3ZBMT31  "
      ]
     },
     "execution_count": 67,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 制成表格，可扩展pandas处理\n",
    "df_从化客运站_周边POI = pd.json_normalize(从化客运站_周边POI['pois'])\n",
    "df_从化客运站_周边POI"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 多边形搜索\n",
    "\n",
    "> * 1、https://restapi.amap.com/v3/place/polygon?parameters      \n",
    "> * 2、requests.get()\n",
    "> * 3、参数：\n",
    "\n",
    ">> * A.必选：key，polygon\n",
    ">> * B.可选：keywords，types，offset，page，extensions，sig，output，callback"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 68,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'113.366326,23.128052'"
      ]
     },
     "execution_count": 68,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "天河公园 = geocode(key,\"广东省广州市天河公园\")\n",
    "天河公园"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 90,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [], 'cities': []},\n",
       " 'count': '20',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': [], 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413749311',\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': [],\n",
       "   'id': 'B0FFMHANNZ',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': [],\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-10-28 10:33:40',\n",
       "   'website': [],\n",
       "   'address': '九龙大道城南邻里中心首层',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '肯德基(知识城南邻里中心餐厅)',\n",
       "   'location': '113.543409,23.330367',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '24.00', 'rating': '5.0', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413748322',\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-87956354',\n",
       "   'id': 'B0FFM7Q1X0',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': [],\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-17 03:33:18',\n",
       "   'website': [],\n",
       "   'address': '九龙大道绿地缤纷城首层134铺',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '肯德基(绿地缤纷城店)',\n",
       "   'location': '113.549049,23.324848',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': [], 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413748322',\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': [],\n",
       "   'id': 'B0FFM7WZRU',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': [],\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-14 04:12:31',\n",
       "   'website': [],\n",
       "   'address': '亿创街3号134号铺',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '肯德基(中新绿地缤纷城餐厅)',\n",
       "   'location': '113.549205,23.324228',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B0FFF04ASX',\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '31.00', 'rating': '4.6', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/13a1e79236cf21712227f16947c91930'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8ed35a41bebfc69449f1fca61e20e618'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3429127a173f417efbbc14a2d847e52e'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3513133920',\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '从化区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-62161513;4009208801;020-62161512',\n",
       "   'id': 'B0FFFVDQ6A',\n",
       "   'tag': '香辣鸡翅,新奥尔良烤鸡腿饭,脆皮炸鸡,蛋挞,老北京鸡肉卷,五味小食拼盘,超级翅桶多人餐,热辣香骨鸡,卡布奇诺,嫩牛五方,醇豆浆TN,香脆薯饼,新奥尔良烤翅,香脆海苔虾,芝士培根蛋帕尼尼,醇香土豆泥,香烤照烧鸡腿饭,翅尖桶翅堡可乐餐,重磅肉霸堡双人餐,老北京香辣鸭肉卷,超级外送全家桶ST,安心大油条,十三鲜小龙虾鸡肉卷,美式,K记凉茶',\n",
       "   'event': [],\n",
       "   'entr_location': '113.4914,23.448328',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-18 10:30:39',\n",
       "   'website': [],\n",
       "   'address': '广从南路546号新光·百德广场1层',\n",
       "   'adcode': '440117',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': '太平',\n",
       "   'childtype': '202',\n",
       "   'exit_location': [],\n",
       "   'name': '肯德基(百德广场餐厅)',\n",
       "   'location': '113.491612,23.448264',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '29.00', 'rating': '4.5', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/13a1e79236cf21712227f16947c91930'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/4a0c3d5c480f30de3687fa6ab97eb257'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ca06efa11697884c090e89c0a4aa734c'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3513131301',\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '花都区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-37720437;4009200715;020-36062125',\n",
       "   'id': 'B0FFFAIHZ1',\n",
       "   'tag': '香辣鸡翅,老北京鸡肉卷,薯条,葡式蛋挞,芝士培根蛋帕尼尼,香辣鸡腿堡,新奥尔良烤鸡腿饭,伴鸡伴虾堡,五味小食拼盘,新奥尔良烤翅,雪顶咖啡,醇香土豆泥,肯德基避风塘大虾鸡腿双层堡,全家桶,芙蓉荟蔬汤,K记凉茶,香脆海苔虾,港式烧味脆皮大鸡腿饭,端午节粽子礼盒装,拿铁,新奥尔良烤鸡腿堡,中薯,黄金鸡块,原味吮指鸡,劲爆鸡米花',\n",
       "   'event': [],\n",
       "   'entr_location': '113.419728,23.425618',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-18 09:21:08',\n",
       "   'website': [],\n",
       "   'address': '北兴镇花都大道南17号',\n",
       "   'adcode': '440114',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': '北兴',\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '肯德基(白云机场店)',\n",
       "   'location': '113.419529,23.425373',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'F49F007044_28867;1507',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '44.00', 'rating': '4.7', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/13a1e79236cf21712227f16947c91930'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8ed35a41bebfc69449f1fca61e20e618'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/cdfb72d9ecd0a9002a19edd8ac1bf330'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3513243720',\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '从化区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-37907759;4009208801',\n",
       "   'id': 'B0FFFAIH7Z',\n",
       "   'tag': '纯纯的炸鸡桶,香辣鸡翅炸鸡,十翅分享桶,原味吮指鸡,塔可奥堡双人餐T,新奥尔良烤翅,嫩牛五方多人分享餐,超级塔可,塔可青年,港式烧味脆皮大鸡腿饭,辣堡滑鸡粥双人餐,辣堡单人套,冬菇滑鸡粥TN,藜麦蛋挞果茶沙啦餐T,红豆派T,雪菜笋丁鸡肉粥T,老北京鸡肉卷T,新奥尔良烤翅T,瘦肉粥热浆太阳蛋餐,鸡肉粥热浆太阳蛋餐,老北京卷土豆泥餐,金沙咸蛋黄香辣鸡翅,上校鸡块,重磅肉霸堡餐,重磅肉霸堡双人餐',\n",
       "   'event': [],\n",
       "   'entr_location': [],\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-18 08:18:15',\n",
       "   'website': [],\n",
       "   'address': '从城大道111号',\n",
       "   'adcode': '440117',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': '江埔',\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '肯德基(从城大道餐厅)',\n",
       "   'location': '113.590680,23.532120',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'F49F006045_123810',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B00140UGAP',\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '27.00', 'rating': '4.6', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/13a1e79236cf21712227f16947c91930'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8ed35a41bebfc69449f1fca61e20e618'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/315b5fe0b7bbfc9cfeaad92e76db1d94'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3513245720',\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '从化区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-87939871;4009208801;020-87939891',\n",
       "   'id': 'B00140TWK0',\n",
       "   'tag': '香辣鸡翅炸鸡,六味小吃桶T,新奥尔良烤翅,超级翅桶多人餐T,塔可原味鸡明星餐T,薯条,塔可奥堡双人餐T,炸鸡分享桶,超级外送全家桶,新嫩牛五方,五味小食拼盘,原味吮指鸡,金沙咸蛋黄饭团,嫩牛五方人气明星餐,十三鲜小龙虾烤鸡堡T,皮蛋瘦肉粥单人餐,辣堡单人套,培根鸡腿重磅肉霸堡,塔可青年,嫩牛五方多人分享餐,小吃分享双人餐,小龙虾卷堡双人餐T,劲脆鸡腿堡ST,卷堡双人餐ST,冬菇滑鸡粥单人餐',\n",
       "   'event': [],\n",
       "   'entr_location': '113.587742,23.547929',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-18 10:16:55',\n",
       "   'website': 'www.kfc.com.cn',\n",
       "   'address': '新城东路66号林苑大厦1-2层',\n",
       "   'adcode': '440117',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': '街口',\n",
       "   'childtype': '202',\n",
       "   'exit_location': [],\n",
       "   'name': '肯德基(新世纪餐厅)',\n",
       "   'location': '113.587893,23.547654',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'F49F006045_146047',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B00140UGAP',\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '5.0', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;冷饮店;冷饮店',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9738c430d9216ccc8b4e568cabe5cb29'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/242a9372c06f90eea383feef817f787f'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/63e0042d32073cfdcb1793be47187953'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3513245720',\n",
       "   'typecode': '050700',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '从化区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-87939871',\n",
       "   'id': 'B0FFI8ZPGU',\n",
       "   'tag': '芒果榴莲大花筒,蓝莓棉花糖大花筒,抹茶冰淇淋花筒,伴柠伴橘,/青金桔鲜果茶,奥利奥K飓风（草莓）,奥利奥K飓风（原味）',\n",
       "   'event': [],\n",
       "   'entr_location': [],\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-13 23:01:54',\n",
       "   'website': [],\n",
       "   'address': '新城东路66号林苑大厦首二层',\n",
       "   'adcode': '440117',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': '街口',\n",
       "   'childtype': '202',\n",
       "   'exit_location': [],\n",
       "   'name': '肯德基甜品站(新世纪店)',\n",
       "   'location': '113.587824,23.547704',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B0FFHWFF32',\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '29.00', 'rating': '4.5', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/13a1e79236cf21712227f16947c91930'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/605588adc69ea06ddaa9c7cf86336762'},\n",
       "    {'title': '环境',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a0ecd8a61bc159704d623a8ef2215835'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413632511',\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-32030419;4009208801',\n",
       "   'id': 'B0FFIKU87I',\n",
       "   'tag': '超级外送全家桶T,新奥尔良烤鸡腿堡,纯纯的炸鸡桶,六味小吃桶,藜麦蛋挞拿铁沙啦餐,香辣鸡翅炸鸡TN,劲脆鸡腿堡土豆泥餐,劲爆鸡米花,原味吮指鸡,老北京鸡肉卷,新奥尔良烤翅,中薯,百事可乐TN,香辣鸡腿堡S豆泥餐T,喵咪拿铁,草莓圣代,五味小食拼盘,海盐雪糕,重磅肉霸堡餐,比利时风味华夫巧克力味,桃之恋乌龙茶,荷包满满腊味饭,奥堡辣堡双人餐ST,有翅必win超级桶,醇香土豆泥',\n",
       "   'event': [],\n",
       "   'entr_location': '113.445747,23.186612',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-18 10:51:02',\n",
       "   'website': [],\n",
       "   'address': '开创大道3327号一层自编101、102号铺',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': '202',\n",
       "   'exit_location': [],\n",
       "   'name': '肯德基(开创大道店)',\n",
       "   'location': '113.445414,23.186331',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '29.00', 'rating': '4.3', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2516dbbdd73a381557df1c8facf89881'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7a61b80d3b677321f6ce634ddcd8307d'},\n",
       "    {'title': '原味花筒',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7f86f295a11ef926a48721097d84d35f'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413630922',\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-31608341;4009200715',\n",
       "   'id': 'B0FFKRG55X',\n",
       "   'tag': '精选辣堡单人餐,原味圣代,新奥尔良烤翅,重磅肉霸堡双人餐,超级外送全家桶ST,香辣鸡翅炸鸡TN,香辣鸡腿堡S豆泥餐,波纹霸王薯条,升级炸鸡啤酒小吃桶,六味小吃桶,香辣黄金鸡柳,香辣鸡翅,海盐味雪糕,精选炸鸡啤酒超级桶,港式烧味脆皮大鸡腿饭,超级下午茶分享餐,芝士厚菇素尊堡,冬菇滑鸡粥单人餐,比利时风味华夫巧克力味,比利时风味华夫原味,老北京香辣鸭肉卷,劲脆鸡腿堡ST,安心大油条,厚切牛排明星餐,整块厚切牛排堡',\n",
       "   'event': [],\n",
       "   'entr_location': [],\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-18 03:49:26',\n",
       "   'website': [],\n",
       "   'address': '开创大道1934号萝岗奥园广场首层L105号商铺',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '肯德基(奥园广场店)',\n",
       "   'location': '113.498680,23.174123',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B001423X5X',\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '28.00', 'rating': '4.5', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f18f32b6980a0739405993b0057e7da8'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8ed35a41bebfc69449f1fca61e20e618'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/72777ffd9fbc4a6455681408afa0f6ed'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413630700',\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '4009200715;020-82512055',\n",
       "   'id': 'B0FFJN6YI9',\n",
       "   'tag': '金沙咸蛋黄香辣鸡翅,新奥尔良烤翅,老北京鸡肉卷,原味吮指鸡,嫩牛五方,五味小食拼盘,六味小吃桶,川辣泡椒鸡块饭,老北京香辣鸭肉卷,嫩牛五方人气明星餐,波纹霸王薯条,热辣香骨鸡T,小龙虾卷堡双人餐T,十三鲜小龙虾烤鸡堡T,太妃芝士风味拿铁大T,劲脆鸡腿堡ST,超级翅桶多人餐T,培根法风烧饼浆餐T,藤椒肯大大鸡排T,香脆薯饼T,香辣鸡腿堡STN,皮蛋瘦肉粥单人餐T,超级外送全家桶ST,原味圣代T,多啦A梦雪糕杯',\n",
       "   'event': [],\n",
       "   'entr_location': '113.467221,23.169875',\n",
       "   'indoor_map': '1',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-18 07:12:35',\n",
       "   'website': [],\n",
       "   'address': '科丰路89号万达广场1037、1038、W-1001号铺',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': '2F', 'cpid': 'B001423X5X', 'floor': '2'},\n",
       "   'business_area': [],\n",
       "   'childtype': '201',\n",
       "   'exit_location': [],\n",
       "   'name': 'KFC(万达广场)',\n",
       "   'location': '113.466358,23.167564',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B0FFH12BQ4',\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '26.00', 'rating': '4.6', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/13a1e79236cf21712227f16947c91930'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/807294cbf8e4e92067d5fdab4ab2e131'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/69b0f38eb11bb38a90e3265d83ee5865'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413630600',\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '黄埔区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-82118970;4009208801',\n",
       "   'id': 'B0FFHNTM7E',\n",
       "   'tag': '超值全家桶,上校鸡块,泰式香辣烤翅,蛋挞,原味吮指鸡,薯条,超级外带全家桶,香辣鸡腿堡,牛肉饭,霜糖油条,安心油条,五味小食拼盘,五味小吃桶,咖喱猪扒饭,芝士厚菇素尊堡,半柠半桔鲜果茶,黄金鸡块,热拿铁,新奥尔良烤翅,芝士猪柳蛋帕尼尼,瘦肉粥热豆浆油餐,冬菇滑鸡粥,奥尔良烤腿饭,劲爆鸡米花,金沙咸蛋黄香辣鸡翅',\n",
       "   'event': [],\n",
       "   'entr_location': '113.452576,23.167456',\n",
       "   'indoor_map': '1',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-18 02:39:49',\n",
       "   'website': [],\n",
       "   'address': '科学大道193号高德汇购物中心一层及二层',\n",
       "   'adcode': '440112',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': 'F1', 'cpid': 'B00141KFGE', 'floor': '1'},\n",
       "   'business_area': [],\n",
       "   'childtype': '201',\n",
       "   'exit_location': [],\n",
       "   'name': '肯德基(科学大道餐厅)',\n",
       "   'location': '113.452708,23.167518',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'F49F010044_2390',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B00141IH9C',\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '30.00', 'rating': '4.5', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/13a1e79236cf21712227f16947c91930'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/39debce90ac9a194c06a91cae564beb4'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/23107a49f964cc42f41a9c790044e382'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413623900',\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '天河区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-38059100;4009208801;020-38059112',\n",
       "   'id': 'B00141IEXW',\n",
       "   'tag': '新奥尔良烤翅,香辣鸡翅炸鸡,新嫩牛五方,薯条,超级外送全家桶,新奥尔良烤鸡腿堡TN,原味吮指鸡,藜麦蛋挞拿铁沙啦餐,超级翅桶多人餐T,泰式香辣烤翅,老北京鸡肉卷,葡式蛋挞经典装TN,黄金鸡块,五味小食拼盘,劲脆鸡腿堡ST,金沙咸蛋黄香辣鸡翅,卷堡餐,安心大油条,藤椒肯大大鸡排,冬菇滑鸡粥,芙蓉荟蔬汤,芝士猪柳蛋帕尼尼,菌菇四宝汤,油卷热豆浆春卷餐,热牛奶',\n",
       "   'event': [],\n",
       "   'entr_location': '113.365989,23.193058',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-18 08:04:28',\n",
       "   'website': [],\n",
       "   'address': '迎龙路6号龙洞购物中心1-2层',\n",
       "   'adcode': '440106',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': '龙洞',\n",
       "   'childtype': '202',\n",
       "   'exit_location': [],\n",
       "   'name': '肯德基(龙洞店)',\n",
       "   'location': '113.366391,23.193377',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'F49F010043_73150',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '31.00', 'rating': '4.2', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;餐饮相关场所;餐饮相关',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c8d0726007e6327df590d4ec541acfd2'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3f36232c39db00cca99f84fc947d5b89'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/6013cabb93e9e6e168e60124ff8fa7e5'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413630201',\n",
       "   'typecode': '050000',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '天河区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-88527137;020-88529497',\n",
       "   'id': 'B0FFK655UR',\n",
       "   'tag': '超级翅桶多人餐,香辣鸡腿堡ST,吮指原味鸡T,老北京鸡肉卷T,葡式蛋挞经典装T,劲脆鸡腿堡ST,荷包满满腊味饭,鸡肉火腿帕尼尼ST,超级外送全家桶ST,塔可青年,拿铁TN,川辣饭鸡肉卷双人餐,抹茶拿铁,甜筒,重磅肉霸堡双人餐,培根鸡腿重磅肉霸堡,桃桃气泡冰咖啡,原味圣代,塔可青年装,超级塔可,现烤大可颂,皮蛋瘦肉粥,喵咪咖啡,老北京香辣鸭肉卷,嫩牛五方',\n",
       "   'event': [],\n",
       "   'entr_location': [],\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-17 02:15:32',\n",
       "   'website': [],\n",
       "   'address': '华观路1932号116-117铺',\n",
       "   'adcode': '440106',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '肯德基(天河万科广场店)',\n",
       "   'location': '113.404433,23.167116',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B0FFIB810F',\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '34.00', 'rating': '4.2', 'meal_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/6bdd0b54034c42c442c2c8a32ffec31c'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/878b40ba662239064dab77c7cf7f30bd'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/805ac1ac873e84a2b3ddad2045e8c70e'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413548901',\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'citycode': '020',\n",
       "   'adname': '增城区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '020-38240984',\n",
       "   'id': 'B0FFKSXVVR',\n",
       "   'tag': '六味小吃桶,葡式蛋挞经典装,炸鸡分享桶,小清新提神双人餐,超级翅桶多人餐,川辣饭鸡肉卷双人餐,香辣鸡腿堡STN,港式烧味脆皮大鸡腿饭,嫩牛五方,鸡肉粥浆太阳蛋餐,新奥良腿堡S豆泥餐,牛肉蛋花粥,波纹霸王薯条,重磅肉霸堡双人餐,培根鸡腿重磅肉霸堡,重磅双层鸡排堡,塔可双人经典餐,鸡同鸭讲双人餐,恋柠恋桔乌龙茶,嫩牛五方人气明星餐,单人工作午餐,老北京鸡肉卷,安心大油条,鸡肉火腿帕尼尼ST,藤椒肯大大鸡排',\n",
       "   'event': [],\n",
       "   'entr_location': '113.618587,23.152151',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-13 19:29:04',\n",
       "   'website': [],\n",
       "   'address': '新塘镇新塘万达广场1001铺肯德基',\n",
       "   'adcode': '440118',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'business_area': [],\n",
       "   'childtype': '202',\n",
       "   'exit_location': [],\n",
       "   'name': '肯德基(新塘万达店)',\n",
       "   'location': '113.618294,23.151961',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 90,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def polygon(polygon=\"113.679287,23.632575|113.366326,23.128052\",keywords=\"肯德基\",types=None,offset=\"15\",sig=None,extensions=\"all\",page=\"1\") ->dict:\n",
    "    \"\"\"多边形搜索\"\"\"\n",
    "    polygon_url = \"https://restapi.amap.com/v3/place/polygon?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"polygon\":polygon,\n",
    "        \"keywords\":keywords,\n",
    "        \"types\":types,\n",
    "        \"offset\":offset,\n",
    "        \"sig\":sig,\n",
    "        \"extensions\":extensions,\n",
    "        \"page\":page,\n",
    "        \"output\":\"json\"\n",
    "    }\n",
    "    response = requests.get(polygon_url,params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "中大南方_天河公园肯德基 = polygon(\"113.679287,23.632575|113.366326,23.128052\")\n",
    "中大南方_天河公园肯德基"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### IP定位\n",
    "\n",
    "> * 1、https://restapi.amap.com/v3/ip?parameters     \n",
    "> * 2、requests.get()\n",
    "> * 3、参数：\n",
    "\n",
    ">> * A.必选：key\n",
    ">> * B.可选：ip，sig，output"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 99,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'province': [],\n",
       " 'city': [],\n",
       " 'adcode': [],\n",
       " 'rectangle': []}"
      ]
     },
     "execution_count": 99,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def ip_around(ip=\"81.71.84.60\",sig=None)->dict:\n",
    "    \"\"\"IP定位\"\"\"\n",
    "    ip_url = \"https://restapi.amap.com/v3/ip?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"ip\":ip,\n",
    "        \"sig\":sig,\n",
    "        \"output\":\"json\"\n",
    "    }\n",
    "    response = requests.get(ip_url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "my_ip = ip_around('81.71.84.60')\n",
    "my_ip"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 静态地图\n",
    "\n",
    "> * 1、https://restapi.amap.com/v3/staticmap?parameters   \n",
    "> * 2、requests.get()\n",
    "> * 3、参数：\n",
    "\n",
    ">> * A.必选：key, zoom, location(部分条件必填)\n",
    ">> * B.可选：size，scale，markers，labels，paths，traffic，sig"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 71,
   "metadata": {},
   "outputs": [],
   "source": [
    "from PIL import Image\n",
    "from io import BytesIO\n",
    "def staticmap(location,zoom,size=None,scale=1,markers=None,labels=None,paths=None,traffic=0,page=None,sig=None)->dict:\n",
    "    \"\"\"获取动态地图\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/staticmap?parameters'\n",
    "    params={\n",
    "        'key':key,\n",
    "        'location':location,\n",
    "        'zoom':zoom,\n",
    "        'size':size,\n",
    "        'scale':scale,\n",
    "        'markers':markers,\n",
    "        'labels':labels,\n",
    "        'paths':paths,\n",
    "        'traffic':traffic,\n",
    "        'sig':sig,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = Image.open(BytesIO(response.content))\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 72,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAMAAAC3Ycb+AAADAFBMVEXa7Lz28/usrqjz8/Dt8trm2dX++On7+P7x+v7c2dPR2MX19fTO5qjW19bN5qZiYmH37+3g7830Tk/++/5AYHvg7cXy8Pit637T2bvv6ubn59jS6K57SyD19vXN5qjo8tbU37jx7eTt2LHH26br597n2Lvh1sn59evP5qrnQ4TW1sLt7Onk4NXO5qZZYGP39e3l39ng78nZ7Lrb7MD16tTz7+NatEbA3cqnfl3q6NyGsNzW6bWnyZ+11uOUbErp5NzBwaTa29nk6tKys7Pz8ex0dXeozPf2+fDw9OLV1dMcdg3d5cbr6ufiuHDHramOhY54RhpvcXT448PqwHnY4sPg4uM5myTe2M/zzIqw0vtJfTzx7+zE2qHn8dSzxJvx9/zE4bvd2M2Fh4jX6PupsLre6M32LjDp5N32y7/j5+TW2Nnj3IX1+fHgvXZ1q2za5uvh78qnuZTDv72ChoZamk/p5t/e5tvq6urv7OWbqpb6+/bc7cK5urrZ7Lvd7cHB3P3n8Pnr897G1ajX57no8tyvsLGmp6ikp521trfJv6i62darq6uXw4Lx9vjkuWfG4rTw7OTugo3c2tDV37jw9+To89WmkX3w7ejC28DLzc6CYDl7dXB/gYGTlJaJkn+/1e3G3aLuzZDX277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9QY6YwP0//stP3v9hw5r/N3571xPPPrt+h8GSZwJIkm8XJ/a4BD9v+swR+zEFd0SGvv4wbr7161XFw2RTD3GxYsDAdEpADGLw1DGMf4PXErj3SVvGe43AZw1ajPXyLFgTCAhVJnLBgyB2xLfiBv+rryjglL6f1iFdBQ0+ri4aoyccNgVESOD+zYuP/IP1H/6h9h9efz3fYbTkb2cESARb9YixqIiL7LPLm2mTU9O+cBwdBuvDjBHONtJfS5izHZIe5eIR9o5yIa4nNAjyehsaGsSVDfCuhYU+L134IJnoA1wiMKJ4tWEid/iP1eBRxpV+pOokWE2HeECwxsHCEb0QBEBoAhepYYO4sB8dOZYVQGirHhGQrweutCi3Q0VC+LM39bNcv69+HTSOkVf4hhKQbxjYWQHjtZRJYpBU6t0rFTwAcACA2APgx9iuT9UfSH0SXh0gvNlLaxyYhQ45ikrr+F+LP7mE9pJj0duZ1JSiwApJUicyQopbeVaYQs2BCVpvqJn9yXGy6Q15uoiaOpUL0AsrP85K4xJ0uMcliRPgy1DQkZCD9pIYi9MH9Km4rNGxLo6/pyp4QNuOvzOOsIctSgWkPgm3gR+C46wC9IYBiFRpHZBGHK412GiZISDJTVIH2ORifqwlwhMZGlmJmmNTPOybZmef4K1wdbElliOhIi/Wu/m92h+G22sZlbu9XlGBjxCirMsaD3xDWNfUe0bGBSgpg4CTF9ZbWQLpe6YIgFxFQK4yAPn/A1K7cxmj0UPKAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<PIL.PngImagePlugin.PngImageFile image mode=P size=400x400 at 0x22BE8758A00>"
      ]
     },
     "execution_count": 72,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "staticmap(location=天河公园,zoom=15)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 坐标转换\n",
    "\n",
    "> * 1、https://restapi.amap.com/v3/assistant/coordinate/convert?parameters  \n",
    "> * 2、requests.get()\n",
    "> * 3、参数：\n",
    "\n",
    ">> * A.必选：key, locations\n",
    ">> * B.可选：coordsys，sig，output"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 92,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'info': 'ok',\n",
       " 'infocode': '10000',\n",
       " 'locations': '113.366326,23.128052'}"
      ]
     },
     "execution_count": 92,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def convert(locations=\"113.366326,23.128052\",coordsys=\"autonavi\",sig=None)->dict:\n",
    "    convert_url = \"https://restapi.amap.com/v3/assistant/coordinate/convert?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"locations\":locations,\n",
    "        \"coordsys\":coordsys,\n",
    "        \"sig\":sig,\n",
    "        \"output\":\"json\"\n",
    "    }\n",
    "    response = requests.get(convert_url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "转换坐标 = convert(\"113.366326,23.128052\")\n",
    "转换坐标"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 天气查询\n",
    "\n",
    "> * 1、https://restapi.amap.com/v3/weather/weatherInfo?parameters \n",
    "> * 2、requests.get()\n",
    "> * 3、参数：\n",
    "\n",
    ">> * A.必选：key, city\n",
    ">> * B.可选：extensions，output"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 93,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'forecasts': [{'city': '韶关市',\n",
       "   'adcode': '440200',\n",
       "   'province': '广东',\n",
       "   'reporttime': '2020-11-18 10:52:44',\n",
       "   'casts': [{'date': '2020-11-18',\n",
       "     'week': '3',\n",
       "     'dayweather': '多云',\n",
       "     'nightweather': '阴',\n",
       "     'daytemp': '27',\n",
       "     'nighttemp': '19',\n",
       "     'daywind': '北',\n",
       "     'nightwind': '北',\n",
       "     'daypower': '≤3',\n",
       "     'nightpower': '≤3'},\n",
       "    {'date': '2020-11-19',\n",
       "     'week': '4',\n",
       "     'dayweather': '小雨',\n",
       "     'nightweather': '小雨',\n",
       "     'daytemp': '28',\n",
       "     'nighttemp': '18',\n",
       "     'daywind': '北',\n",
       "     'nightwind': '北',\n",
       "     'daypower': '≤3',\n",
       "     'nightpower': '≤3'},\n",
       "    {'date': '2020-11-20',\n",
       "     'week': '5',\n",
       "     'dayweather': '小雨',\n",
       "     'nightweather': '小雨',\n",
       "     'daytemp': '27',\n",
       "     'nighttemp': '18',\n",
       "     'daywind': '北',\n",
       "     'nightwind': '北',\n",
       "     'daypower': '≤3',\n",
       "     'nightpower': '≤3'},\n",
       "    {'date': '2020-11-21',\n",
       "     'week': '6',\n",
       "     'dayweather': '小雨',\n",
       "     'nightweather': '小雨',\n",
       "     'daytemp': '23',\n",
       "     'nighttemp': '19',\n",
       "     'daywind': '北',\n",
       "     'nightwind': '北',\n",
       "     'daypower': '≤3',\n",
       "     'nightpower': '≤3'}]}]}"
      ]
     },
     "execution_count": 93,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def weather(city=\"韶关\",extensions=\"all\")->dict:\n",
    "    weather_url = \"https://restapi.amap.com/v3/weather/weatherInfo?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"city\":city,\n",
    "        \"extensions\":extensions,\n",
    "    }\n",
    "    response = requests.get(weather_url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "韶关天气 = weather(\"韶关\")\n",
    "韶关天气"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 输入提示\n",
    "\n",
    "> * 1、https://restapi.amap.com/v3/assistant/inputtips?parameters\n",
    "> * 2、requests.get()\n",
    "> * 3、参数：\n",
    "\n",
    ">> * A.必选：key, keywords\n",
    ">> * B.可选：type，locations,city,citylimit,datatype,sig,output,callback"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 交通态势\n",
    "\n",
    "> * 1、https://restapi.amap.com/v3/traffic/status/rectangle?parameters\n",
    "> * 2、requests.get()\n",
    "> * 3、参数：\n",
    "\n",
    ">> * A.必选：key,rectangle\n",
    ">> * B.可选：level,extensions,sig,output,callback"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.3"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {
    "height": "calc(100% - 180px)",
    "left": "10px",
    "top": "150px",
    "width": "165px"
   },
   "toc_section_display": true,
   "toc_window_display": true
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
